-h: Print this help summary page. EXAMPLES: nmap -v -A scanme.nmap.org nmap -v -sn 192.168.0.0/16 10.0.0.0/8 nmap -v -iR 10000 -Pn -p 80 SEE THE MAN PAGE (https://nmap.org/book/man.html) FOR MORE OPTIONS AND EXAMPLES admin@i-08be8007cddf7ce4c:~$ nmap 172.31.43.117 -sS -p- You requested a scan type which requires root privileges. QUITTING! admin@i-08be8007cddf7ce4c:~$ sudo !! sudo nmap 172.31.43.117 -sS -p- We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: ^Csudo: 1 incorrect password attempt admin@i-08be8007cddf7ce4c:~$ sudo -l Matching Defaults entries for admin on i-08be8007cddf7ce4c: env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin User admin may run the following commands on i-08be8007cddf7ce4c: (ALL : ALL) ALL (ALL) NOPASSWD: /sbin/shutdown admin@i-08be8007cddf7ce4c:~$ sudo nmap -sS 172.31.43.117 -p- We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin:
taipei/i-08be8007cddf7ce4c
by SadServersMore by SadServers
-i, --include Include protocol response headers in the output -o, --output <file> Write to file instead of stdout -O, --remote-name Write output to a file named as the remote file -s, --silent Silent mode -T, --upload-file <file> Transfer local FILE to destination -u, --user <user:password> Server user and password -A, --user-agent <name> Send User-Agent <name> to server -v, --verbose Make the operation more talkative -V, --version Show version number and quit This is not the full help, this menu is stripped into categories. Use "--help category" to get an overview of all categories. For all options use the manual or "--help all". admin@i-0ebadfe95bbd0eb1b:~$ curl -A 'whatever' localhost:5000 Welcome! Password is FDZPmh5AX3oiJtadmin@i-0ebadfe95bbd0eb1b:~$