Created
September 1, 2016 13:28
-
-
Save thomaspatzke/68ed98ab29808592a74a20d48192e034 to your computer and use it in GitHub Desktop.
Simple HTTP CONNECT Proxy Portscanner
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
for (( p=0; p <= 65535; p++ )); do echo "Probing port $p"; echo -n "Port $p: " >> portscan.log; (echo CONNECT targethost:$p HTTP/1.1; echo) | nc -q 3 proxyhost proxyport | head -1 >> portscan.log; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment