====== Port Scan with Microsoft portqry ====== ===== Download ===== [[https://www.google.com/search?q=portqry|Google it]], and go to the Microsoft site to download it, and then unzip/install it. ===== How to Scan Port ===== Assume we want to scan a port 443 for a domain example.com portqry -n example.com -e 443 Assume we want to scan ports 80, and 443 (in order) for a domain example.com portqry -n example.com -o 80,443 Assume we want to scan ports from 200 to 1000 for a domain example.com portqry -n example.com -r 200:1000 Assume we want to scan ports from 200 to 1000 for an ip 127.0.0.1 portqry -n 127.0.0.1 -r 200:1000 Assume we want to scan ports from 200 to 1000 for an ip 127.0.0.1 by using udp (it can be tcp by switching to -p tcp) portqry -n 127.0.0.1 -p udp -r 200:1000 Assume we want to scan ports from 200 to 1000 for an ip 127.0.0.1 with output as log file portqry -n 127.0.0.1 -r 200:1000 -l out.log For more information portqry -h