Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sodonnell
Last active June 26, 2018 22:42
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 sodonnell/ad56fc33be34c9ad3131608ccfb9ae5b to your computer and use it in GitHub Desktop.
Save sodonnell/ad56fc33be34c9ad3131608ccfb9ae5b to your computer and use it in GitHub Desktop.
nmap - Subnet sweep of machines with open HTTP/S and common proxy ports
# This assumes you're using the 192.168.0. class-C subnet.
# Modify according to your specific subnet.
# default http/https ports
nmap 192.168.0.0/24 -P0 -p 80,443 | grep -B 4 "open"
# commonly used http, proxy and other related ports
nmap 192.168.0.0/24 -P0 -p 80,443,8000,8080,9000,9090 | grep -B 4 "open"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment