hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Full Version: Java Portscanner 1.00
wicked
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.
wicked
Java PortListener 0.11
----------------------
By Matteo Baccan (baccan@infomedia.it)
--------------------------------------

Java port Listener is a command line port listener 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 listener to
use in all operating system that use, and not one port listener for every
system.

Use this program in Linux, Windows, AIX, AS/400 or all environment you want.

How To use:
-----------
Usage: java portListener [<ip>]

<ip>

Is possible to specifie an ip where lock the port
ex.
java portListener 194.168.0.1
java portListener localhost

Update:
-------

You may find the new version of Java PortScanner at:

http://www.infomedia.it/artic/Baccan

Please e-mail any comments, suggestions, or ideas to Matteo Baccan at:

baccan@infomedia.it

History
-------
0.10
First release

0.11
Decrease the number of concurrent client for each port from 50 to 5
Devil
maybe,just maybe iŽll give this a try if i ever unpack it!! tongue.gif

thx M8
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.