Last active
January 22, 2016 12:42
-
-
Save KristofferRisa/a2d72de9e750120da31b to your computer and use it in GitHub Desktop.
Some basic nmap commands
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
nmap -il (input list) [filename] | |
nmap -a (aggressive) [ip/dns] | |
nmap --traceroute [ip/dns] | |
nmap -O (OS info) [ip/dns] | |
nmap -sV (service version) [ip/dns] | |
#Note | |
#nmap scan the 1000 most used ports | |
nmap -F (fast scan) [ip/dns] | |
nmap -p (specify ports) 80,808,900-999 or by name http,mysql [ip/dns] | |
nmap -p- (all ports) | |
#Save output | |
nmap -oN (regular textfile) [filepath] [ip/dns] | |
namp -oX (xml file) [filepath] [ip/dns] | |
nmap -v (verbose logging in the terminal) [ip/dns] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment