Thursday, June 12, 2008

nmap - portscan

scan all the ports in a given range on a specific machine

nmap -p1-10000 127.0.0.1

The above command will scan host 127.0.0.1(localhost) to see if any of the ports from range 1 to 10000 is up.

0 comments: