Created
September 5, 2017 17:32
-
-
Save YourFriendCaspian/441436bde374a4daa06caa3aadd72cfc to your computer and use it in GitHub Desktop.
Create an IP List with Nmap
This file contains hidden or 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
## Create an IP List with Nmap ## | |
#You'll find this particularly useful for tools or scripts that operate on new line delimited list of IP addresses. | |
#You can use this simple Nmap syntax to create a file with a list of appropriate IPs. | |
nmap -sL -n 192.168.1.1-100,102-254 | grep "report for" | cut -d " " -f 5 > ip_list_192.168.1.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment