#Read domains foreach ($i in Get-Content .\fichero2.txt) { (Invoke-WebRequest $i).StatusCode #Try to connect (ports 1 to 4) 1..4 | % {(New-Object System.Net.Sockets.TCPClient).Connect($i,$_).Connected} }
Read domain list and try to connect (Servidores, Seguridad, PowerShell)
Except where otherwise noted, Jesusninoc by Jesús N. is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.