Friday, October 2, 2009

security asceticism-cmd port scanner

So, you have nothing except windows command promt and need to scan some IP and Port range?
And sure thing without any software installation.
It's easy ! Just type:

FOR /L %i IN (1,1,255) DO FOR /L %j IN (1,1,20)DO telnet 127.0.0.%i %j

Where 127.0.0. - first 3 of your IP range octets. i - range (1,1,255) of last IP octet.
j- port range.

In this sample i scan ip range - and port range from 1 till 20.

Tip; Do Not try to scan a big range - it takes ages!

No comments:

Post a Comment