## Description Checks if an HTTP proxy is open. False positives are avoided by verifying the HTTP return code and matching a pattern. The CONNECT method is verified only by the return code. HTTP headers are shown regarding the use of proxies or load balancers. ## Verification Steps 1. Do: ```use auxiliary/scanner/http/open_proxy``` 2. Do: ```set RHOSTS [IP]``` 3. Do: ```set RPORT [PORT]``` 4. Do: ```run``` ## Scenarios ### Running the scanner : ``` msf > use auxiliary/scanner/http/open_proxy msf auxiliary(open_proxy) > show options Module options (auxiliary/scanner/http/open_proxy): Name Current Setting Required Description ---- --------------- -------- ----------- CHECKURL http://www.google.com yes The web site to test via alleged web proxy MULTIPORTS false no Multiple ports will be used: 80, 443, 1080, 3128, 8000, 8080, 8123 Proxies no A proxy chain of format type:host:port[,type:host:port][...] RHOSTS yes The target address range or CIDR identifier RPORT 8080 yes The target port (TCP) SSL false no Negotiate SSL/TLS for outgoing connections THREADS 1 yes The number of concurrent threads VALIDCODES 200,302 yes Valid HTTP code for a successfully request VALIDPATTERN