Java PortScanner 1.00
---------------------
By Matteo Baccan (baccan@infomedia.it)
http://www.baccan.it
--------------------------------------
Java port Scanner is a command line port scanner written in Java 1.3.
I think that this program may also works with all JDK version, you must only
recompile it.
I have written this program to allow programmer to have one port scanner to
use in all operating system that use, and not one port scanner for every
system.
Use this program in Linux, Windows, AIX, AS/400 or all environment you want.
How To use:
-----------
Usage: java portScanner [-ip <ip>] [options]
<options>
-fromip <ip>
-toip <ip>
-fromport <nPort>
-toport <nPort>
-portfile <cFile>
-thread <nThread>
-log
-timeout <nTime>
-iprange <cFile>
-fromip <ip>
Is possible to specifie a starting address to scan.
ex.
-fromip 194.168.0.1
-fromip localhost
-toip <ip>
Is possible to specifie an ending address to scan.
ex.
-toip 194.168.0.1
-toip localhost
-toport <nPort>
Is possible to specifie an ending port to scan.
ex.
-toport 1024
-toport 127
-fromport <nPort>
Is possible to specifie a starting port to scan.
ex.
-fromport 1
-fromport 0
-portfile <cFile>
Is possible to specifie a file with port information
ex.
-portfile scanner.lst
-portfile trojans.lst
-thread <nThread>
Is possible to specifie the max number o thread to create
ex.
-thread 90
-thread 10
-log
Is possible to specifie to the scanner to display a log of execution
ex.
-log
-timeout <nTime>
Is possibile specifie the timeout that scanner must use for each port
Example of use:
java portScanner -ip 194.168.0.1 -fromport 1 -portfile trojans.lst -thread 90
-iprange <cFile>
Is possibile specifie the file where get the ip to scan
java portScanner -iprange ipfile.txt
where ipfile.txt contains all the ip to scan
------ iprange ------
192.168.0.1
192.168.0.2
192.168.0.3
------ iprange ------
Thanks To:
----------
Rob Keir
I have get Superscan from his homepage
http://members.home.com/rkeir/software.html
and I have put inside this portscanner the portlist file that I have found in
Superscan.
I think that, if you have Windows environment, Superscan is the best program
you can get for a complete scan og your network.
Update:
-------
You may find the new version of Java PortScanner at:
http://www.baccan.it
Please e-mail any comments, suggestions, or ideas to Matteo Baccan at:
baccan@infomedia.it
History
-------
0.10
First public release
0.11
Add socket timeout.
Display of scan parameter before scan start.
0.15
Some fix to scan engine and (Thanks Francesca Colonna)
Fix the multi IP scanner (oooooopppppppsssssss BIG BUG in scan engine!!)
Better scanSingleIP error detection when host is unreachable
Improve start of scanning with an optimized version of port.java
0.20
Add display of banner on port 80 and 8080
1.00
Add scan of ip from ip file
Final version, bug fixed, working.




