Home page logo
/
Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News

Sponsors


File socks-open-proxy

Script types: portrule
Categories: default, discovery, external, safe
Download: http://nmap.org/svn/scripts/socks-open-proxy.nse

User Summary

Checks if an open socks proxy is running on the target.

The script attempts to connect to a proxy server and send socks4 and socks5 payloads. It is considered an open proxy if the script receives a Request Granted response from the target port.

The payloads try to open a connection to www.google.com port 80. A different test host can be passed as proxy.url argument.

Script Arguments

proxy.url

URL that will be requested to the proxy.

proxy.pattern

Pattern that will be searched inside the request results.

Example Usage

nmap --script=socks-open-proxy \
   --script-args proxy.url=<host>,proxy.pattern=<pattern>

Script Output

PORT     STATE  SERVICE
1080/tcp open   socks
|  socks-open-proxy:
|   status: open
|   versions:
|     socks4
|_    socks5

Requires


Author: Joao Correa

License: Same as Nmap--See http://nmap.org/book/man-legal.html

Nmap Site Navigation

Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]