I scanned a server and found that it's ssh port is = 1065 .I tried to login with putty, it works. But I can't do brute-force attack with nrack. I tried these commands but they doesn't seems to work. How can I specify another port than 22
root@yeni:~# ncrack -p ssh –user root -P pass.txt xxxx:1065
Starting Ncrack 0.4ALPHA ( http://ncrack.org ) at 2015-02-04 22:50 UTC
Failed to resolve given hostname/IP: –user. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges
Failed to resolve given hostname/IP: root. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges
Service with default port '1065' not supported! Ignoring...
No services specified!
QUITTING!
root@yeni:~# ncrack -p ssh:1065 –user root -P 1423089756478.txt xxx.xx.x
Starting Ncrack 0.4ALPHA ( http://ncrack.org ) at 2015-02-04 22:49 UTC
Failed to resolve given hostname/IP: –user. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges
Failed to resolve given hostname/IP: root. Note that you can't use '/mask' AND '1-4,7,100-' style IP ranges
caught SIGINT signal, cleaning up
Saved current session state at: /root/.ncrack/restore.2015-02-04_22-49
Aucun commentaire:
Enregistrer un commentaire