Last active
January 25, 2019 18:57
-
-
Save robert-moses/6d6de911a75dcfb0821de3f107f59ad7 to your computer and use it in GitHub Desktop.
nmap recon scanning
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
# scan and get all output file formats | |
nmap –sT –oA Network_Topology –vv 192.168.0.0/24 | |
# | |
# pull the "alive" host IPs from the output | |
grep open Network_Topology.gnmap | cut -d" " -f2 > Device_List.txt | |
# | |
# rescan, to ensure nothing was missed with the -A option | |
nmap -A --excludefile Device_List.txt 192.168.0.0/24 | |
# | |
# add additional hosts to list file, manually | |
echo "192.168.0.100" >> Device_List.txt | |
# | |
# rescan | |
nmap -A -Pn -iL Device_List.txt --reason |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment