Lithium Portscan Plugin by dataspy (http://www.dataspy.net)
dataspy@lithiumrat.org
Version 2

History:
	Basically this is almost a complete rewrite of version 1.

Info:
	Version 1 DIDNT work on Win9x (ME?). This has been fixed, however it works BETTER
	on Win2k/XP. It is able to scan slightly faster on these OS's due to differences in 
	the TCP/IP implementation.

	In the release there is a maximum of four simultanious scans.
	


Commands:

-> Start port scanning
-> Stop port scanning
-> Pause port scanning
-> List active scans
-> Get info on scan
-> Stop all portscans

#######################
# Start port scanning #
#######################

Syntax:
	Ip Address Or Range:
			    A single ip address eg: xxx.xxx.xxx.xxx
			or 
			    A range in the format xxx.xxx.xxx.xxx-xxx.xxx.xxx.xxx
	
	Port(s):
			   A list of port(s) and port ranges, seperated by commas ',' and
			   ranges seperated by dashes '-'

		Eg:   139,80,20-25,31415 
		      will scan the following ports on each IP specified in the following order:
				139 80 20 21 22 23 24 25 31415

		Eg:   80,22,27374,80-75
		      will scan the following ports on each IP specified in the following order:
				80 22 27374 80 79 78 76 75
		Eg:   80,123
		      will scan the following ports on each IP specified in the following order:
				80 123

You will receive a msg like:
				SERVER: #8 :Starting scan

8 is the scan id, which you will need to remember in order to manipulate it later.


When/if a port is found you will receive a message like so:
				SERVER: #8 :192.168.123.171:135   is open

######################
# Stop port scanning #
######################


Enter the scan id which you remembered previously (if you cant remember the id, use "list active scans")

You will receive a msg like:
				SERVER: #8 :Scan stop msg sent

and then when the scan thread stops:
				SERVER: #8 :Halted at 192.168.123.171:1292
				
#######################
# Pause port scanning #
#######################

Enter the scan id which you remembered previously (if you cant remember the id, use "list active scans")

If the scan was previously running, you will get a message like so:
	SERVER: #8 :Paused
otherwise you will get a message like so:
	SERVER: #8 :Unpaused

#####################
# List Active scans #
#####################

Lists the active scans:

SERVER: #8 :Scanning IP_RANGE PAUSED STOPPED
SERVER: Total 1 portscan's listed

####################
# Get info on scan #
####################

Enter the scan id which you remembered previously (if you cant remember the id, use "list active scans")

You will get a message like so:
	SERVER: #8 :Currently scanning 127.0.0.1:42919


##################
# Stop all scans #
##################

This just sends a scan stop msg to all active portscans.
