(LiveHacking.Com) – SecPoint, a Danish IT security network company, has released a new version of its multi-threaded TCP port scanner. The new version, which is released under a BSD style license and includes the source codes, adds new features like SYN scanning.
Other new features include:
- Added host name resolution
- Added option -o for output to file in plain text format
- Added option -oh for output to file in html format
- Added option -ox for output to file in xml format
- Reversed the meaning of -r : by default shows port names, with -r does not show them
- Skipping duplicated open ports: Due to the low delay between two sends, the pcap library may call the receive function multiple times for the same port. Increasing the delay time, this problem can be bypassed, but it will slow down processing. With this solution, it’s possible to keep a low delay and avoid duplicates at once.
- Changed name to “portscanner”
- Added target host name to output, if given
- Removed printing of options -w and -n for Connect scan
- Help message changed according to the new options
Using the program is simple and the ability to start multiple scanning threads makes the program quite fast. Running the following command will scan the common ports (ports 1-2000 plus a special selection that makes scanning more efficient):
Port ranges can be specified as follows:
./portscanner IP -p 21-80
Use the -s option to perform a SYN scan and -n to increase the number of threads. The default is 10. On our test machine running with -n 100 reduced the scan time for 7473 ports by 75%!