SSH password crack for penetration tests using brute force and dictionary attacks.
Go 1.15+
go get github.com/hlts2/crssh
$ crssh --help
penetration testing tool for ssh server
Usage:
crssh [flags]
Flags:
-b, --bruteforce set brute force attack
-d, --dictionary set dictionary attack
-h, --help help for crssh
-p, --port uint set port number (default 22)
-s, --size uint set password size for brute force attack (default 4)
-u, --user string set user name (default "root")
-v, --version version for crssh
Execute a dictionary attack with the d
option.
$ crssh [email protected] -p 2222 -d
Execute a brute force attack with the b
option.
$ crssh [email protected] -p 2222 -b
Execute dictionary and brute force attacks with the d
and b
options.
$ crssh [email protected] -p 2222 -db