poi5305/MultiPortScan — pull request #2 by iteratedlateralus (2014-07-09 20:18:14+00:00)
Title: UDP scanning

I added a function for UDP scanning. I've only tested it by starting a netcat server over udp as such:

# Terminal A #
$ nc -l -u localhost 9999

# Terminal B #
lmn@zmnd:~/code-master/MutiPortScan$ php ./MultiPortScan.php udp localhost 9998 10000 0
Commandline interface
=====================
Socket created
Port range: 9998 -> 10000
Waiting for data ...
Waiting for data ...

# Terminal A #
lmn@zmnd:~$ nc -l -u localhost 9999
asdf