Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- echo "
- __ __ __ __ __
- / /_ / /_/ /_____ ____ ___ / /__ ______ _____/ /__ ______________ _____
- / __ \/ __/ __/ __ \ / __ \/ _ \/ __/ | /| / / __ \/ ___/ //_/ / ___/ ___/ __ `/ __ \
- / / / / /_/ /_/ /_/ / / / / / __/ /_ | |/ |/ / /_/ / / / ,< (__ ) /__/ /_/ / / / /
- /_/ /_/\__/\__/ .___/ /_/ /_/\___/\__/ |__/|__/\____/_/ /_/|_| /____/\___/\__,_/_/ /_/
- /_/
- By your mom
- "
- $port = (80)
- $range = (1..254)
- $ErrorActionPreference= ‘silentlycontinue’
- Foreach ($add in $range){
- $ip = "192.168.0."+$add
- echo "scanning $ip"
- % { echo ((new-object Net.Sockets.TcpClient).Connect($ip,80)) "Port 80 is open in $ip -----------" } 2>$null
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement