Last active
June 26, 2018 22:42
-
-
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 file contains 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
# 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