0 р

Hacktricks Offline -

<h3>Common Ports to Check</h3> <table> <tr><th>Port</th><th>Service</th><th>Enumeration Command</th></tr> <tr><td>21</td><td>FTP</td><td>ftp, hydra -L users.txt -P pass.txt ftp://target</td></tr> <tr><td>22</td><td>SSH</td><td>ssh user@target, hydra ssh</td></tr> <tr><td>80/443</td><td>HTTP/S</td><td>gobuster, nikto, curl -I</td></tr> <tr><td>139/445</td><td>SMB</td><td>smbclient -L //target, enum4linux</td></tr> <tr><td>3306</td><td>MySQL</td><td>mysql -h target -u root -p</td></tr> <tr><td>27017</td><td>MongoDB</td><td>mongo --host target</td></tr> <tr><td>6379</td><td>Redis</td><td>redis-cli -h target</td></tr> </table> </section>

#!/bin/bash echo "Updating HackTricks Core..." cd ~/hacktricks_offline && git pull echo "Updating HackTricks Cloud..." cd ~/hacktricks_cloud_offline && git pull echo "All docsets updated successfully!" Use code with caution.

Seatbelt.exe -group=all</code></pre> </section> hacktricks offline

nmap -sn 192.168.1.0/24 # Ping sweep nmap -sL 192.168.1.0/24 # List scan</code></pre>

hydra -l admin -P rockyou.txt ssh://target hydra -L users.txt -P pass.txt smb://target hydra -l admin -P pass.txt http-post-form "/login:user=^USER^&pass=^PASS^:F=error" The script pulls down the newest pages and

Navigate into the cloned repository folder and run the build command: cd hacktricks gitbook init gitbook serve Use code with caution.

By using git stash before pulling, you safely preserve any custom notes or configurations you made within the markdown files. The script pulls down the newest pages and exploit techniques, then re-applies your local tweaks on top seamlessly. Run this script once a week to ensure your field kit remains completely sharp. 4. Using "HTTrack" or Web Scrapers

You can run a local instance of GitBook or a similar documentation engine (like MkDocs) to host the files on localhost:4000 . 4. Using "HTTrack" or Web Scrapers

Telegram