Bannergrab
Bannergrab is a simple banner grabber for detecting versions of SMTP or SSH servers.
Usage
Usage: bannergrab.py [options]
Options:
-r, --slashr= [default: 1]
-p, --port= [default: 25]
-m, --maxslaves= [default: 255]
--version
--help Display this help and exit.
-
Option slashr determines whether to expect SMTP '\r\n' or SSH '\n'.
-
Option port determines which port to check for banners.>
-
Option maxslaves determines how many concurrent connections to use.
Example
$
python bannergrab.py -r 0 -p 22 -m 5 106.70.214.0/27
106.70.214.1 on port 22: SSH-1.99-OpenSSH_3.5p1 FreeBSD-20021029
106.70.214.4 on port 22: SSH-1.99-OpenSSH_3.4p1
106.70.214.15 on port 22: SSH-1.99-OpenSSH_2.9p2
106.70.214.10 on port 22: SSH-1.99-OpenSSH_3.4
106.70.214.9 on port 22: SSH-1.99-OpenSSH_2.3.0 green@FreeBSD.org 20010321
106.70.214.16 on port 22: SSH-1.99-OpenSSH_3.4p1 Debian 1:3.4p1-4
106.70.214.18 on port 22: SSH-1.99-OpenSSH_3.4
106.70.214.22 on port 22: SSH-1.99-OpenSSH_3.3
106.70.214.12 on port 22: SSH-1.99-OpenSSH_3.4p1
Requirements
Bannergrab is written in Python and uses the excellent Twisted framework.
Download
No release management - just the file .