Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 239 Bytes

windows-scanning.md

File metadata and controls

8 lines (7 loc) · 239 Bytes

Windows scanning

{% code overflow="wrap" %}

PS:> Test-NetConnection -Port 445 192.168.50.151
PS:> 1..1024 | % {echo ((New-Object Net.Sockets.TcpClient).Connect("192.168.50.151", $_)) "TCP port $_ is open"} 2>$null

{% endcode %}