Skip to content
forked from maesoser/sshscan

Multithreaded ssh scan tool for networks

Notifications You must be signed in to change notification settings

sjcjonker/sshscan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sshscan

Multithreaded ssh scanner for networks

How to compile it

You need to install libssh-dev. After that, you can just invoque make

How to use it

sshscan [OPTIONS] [USER_PASSW FILE] [IP RANGE]

Options are:

  • -t [NUMTHREADS]: Change the number of threads used. Default is 32.
  • -p [PORT]: Specify another port to connect to.
  • -h : Show this help.
  • -v : Verbose mode.

Examples

.\sshscan userpasswdfile 192.168.0.0/24
.\sshscan -t 128 -v userpasswd 192.168.0.0/24

Other tools you should check

Like THC-Hydra, Ncrack or Medusa. The same brute force attack we did on the upper section could be done with this tools:

hydra -C userpasswdfile 192.168.0.0/24 ssh
ncrack -p 22 -U userfile -P passwdfile  192.168.0.0/24
medusa -C userpasswdfile -h  192.168.0.0/24 -M ssh

Acknowledgements

Things you should know

#As root or via sudo, type this to see all failed login attempts
cat /var/log/auth.log | grep 'sshd.*Invalid'

#If you want to see successful logins, type this
cat /var/log/auth.log | grep 'sshd.*opened'

About

Multithreaded ssh scan tool for networks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.2%
  • Makefile 0.8%