Skip to content

Instantly share code, notes, and snippets.

@nordineb
Last active July 30, 2019 07:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nordineb/4e66d4802d4d34807168dc2b6a53ffb2 to your computer and use it in GitHub Desktop.
Save nordineb/4e66d4802d4d34807168dc2b6a53ffb2 to your computer and use it in GitHub Desktop.
Nmap tips

docker run --rm -it alpine:edge ...

apk --update --no-cache add nmap nmap-scripts


# checking ciphers
nmap --script ssl-enum-ciphers -p 443 target.website.com


# looking for a webserver
nmap -Ap 80,8000,8080,443,8443,7443,7070,7000,22,23,21 10.5.1.0/24

# Port scan on a single host
sudo nmap -PN remote_host

# Scan a network range for available services:
sudo nmap -sP network_address_range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment