Skip to content

Instantly share code, notes, and snippets.

@orendon
Last active September 14, 2016 20:28
Show Gist options
  • Select an option

  • Save orendon/7da64ca3daaf280c50e9fcb6cf9d5a67 to your computer and use it in GitHub Desktop.

Select an option

Save orendon/7da64ca3daaf280c50e9fcb6cf9d5a67 to your computer and use it in GitHub Desktop.
which ports are listening
# https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/3/html/Security_Guide/s1-server-ports.html
# sample target port 834
nmap -sT -O localhost
cat /etc/services | grep 834
netstat -anp | grep 834
lsof -i | grep 834
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment