rscan v0.2 - autoconfig edition@ 07/10/09 01:41 pm
While I was on the way home from 2600 (the afternoon of the day after, heh) on the bus, I decided to add a couple of features to rscan. One of which is that it now automatically tries to figure out its network settings as much as it can. You can still give it hints though, as is shown in the new shiny help output (another new feature) below.
You can get this fabulous new version at http://mastercj.net/software/rscan/0.2/rscan.pl.
Happy hacking!
You can get this fabulous new version at http://mastercj.net/software/rscan/0.2/rscan.pl.
Happy hacking!
rscan v0.2 - autoconfig edition
Usage:
./rscan.pl [arguments] [ip range(s), files, port(s)]
Arguments:
Switch | Description | Example
-if | interface to use | -if=eth0
-ip | src ip to use | -ip=192.168.1.1
-mask | netmask of interface | -mask=255.255.255.0
-log | logfile | -log=packetz.txt
-rate | packets/second to send | -rate=100
Examples:
Scan ports 80, 81, 82 and 8080 on 192.168.*.* with eth0 from ip 192.168.1.1:
./rscan.pl -if=eth0 -ip=192.168.1.1 192.168.*.* 80 81 82 8080
OR
./rscan.pl -if=eth0 -ip=192.168.1.1 192.168.*.* 80-82 8080
Scan port 80 on 192.168.5.* and 192.168.2.* from the first available interface, using whatever ip and netmask it has:
./rscan.pl 192.168.5.* 192.168.2.* 80
Scan port 21 and 22 on 192.168.2.5-192.168.2.50
./rscan.pl 192.168.2.5-192.168.2.50 21 22
Scan port 80, 81, 82 and 8080 on all the ips/ranges in "ips.txt"
./rscan.pl ips.txt 80-82 8080
NOTE: The file containing ips/ranges must have one ip/range on each line.
Usage:
./rscan.pl [arguments] [ip range(s), files, port(s)]
Arguments:
Switch | Description | Example
-if | interface to use | -if=eth0
-ip | src ip to use | -ip=192.168.1.1
-mask | netmask of interface | -mask=255.255.255.0
-log | logfile | -log=packetz.txt
-rate | packets/second to send | -rate=100
Examples:
Scan ports 80, 81, 82 and 8080 on 192.168.*.* with eth0 from ip 192.168.1.1:
./rscan.pl -if=eth0 -ip=192.168.1.1 192.168.*.* 80 81 82 8080
OR
./rscan.pl -if=eth0 -ip=192.168.1.1 192.168.*.* 80-82 8080
Scan port 80 on 192.168.5.* and 192.168.2.* from the first available interface, using whatever ip and netmask it has:
./rscan.pl 192.168.5.* 192.168.2.* 80
Scan port 21 and 22 on 192.168.2.5-192.168.2.50
./rscan.pl 192.168.2.5-192.168.2.50 21 22
Scan port 80, 81, 82 and 8080 on all the ips/ranges in "ips.txt"
./rscan.pl ips.txt 80-82 8080
NOTE: The file containing ips/ranges must have one ip/range on each line.
permalink
0 comments

