nmap / ncrack

Ncrack network authentication tool
Other
1.07k stars 235 forks source link

How to Bruteforce a List #112

Open Huibuh2010 opened 3 years ago

Huibuh2010 commented 3 years ago

Hey,

i want to Brute Force a List (1 Line = 1 IP) with Username and Password like

List pf my .txt file 192.168.0.1 192.168.10.1 192.168.1.50 192.168.3.66

ncrack -iL /home/file.txt --user Administrator --password P@ssw0rd -p 3389

i tried a lot of combination and didnt found any example of List Bruteforce, only in Manpage with Option -iL.

Can anybody help me? thx

secf00tprint commented 3 years ago

--password is not a legitimate parameter.

And I assume you try to attack rdp using port 3389.

So you could use:

ncrack --user Administrator -P <(echo 'P@ssw0rd') -iL /home/file.txt -f -p 3389

file.txt should then contain your ips like

192.168.0.1
192.168.10.1
192.168.1.50
192.168.3.66