Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- subnet="192.168.16.0/24"
- #sudo nmap -sP $subnet | grep report | grep -oE "[[:digit:]]{1,3}.[[:digit:]]{1,3}.[[:digit:]]{1,3}.[[:digit:]]{1,3}" | tr '\n' ' '
- sudo nmap -sP $subnet | grep report | grep -oE "[[:digit:]]{1,3}.[[:digit:]]{1,3}.[[:digit:]]{1,3}.[[:digit:]]{1,3}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement