Created
November 17, 2020 19:30
-
-
Save pcting/c2ac899d5fcf5aee9c8b2c7faeb1630f to your computer and use it in GitHub Desktop.
generate a range of ips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for IP in $(nmap -n -sL 10.8.9.10-50 | awk '{print $5}' | grep --color=never '^[0-9]'); do | |
echo $IP | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment