Loading...
 
Skip to main content

the stream

SANS: 1-line portscanner in PowerShell

Alexander Bochmann Sunday 26 of March, 2017
Net.Sockets.TcpClient is your friend.

NMAP is an ideal choice for port scanning, but sometimes it may not be a feasible option. Other times a quick check to see if a port is open might be all the detail needed. In these scenarios PowerShell really shines. Let's examine methods to use PowerShell for basic port scanning functionality.