Nmap Development mailing list archives

Customized parameters for socks-open-proxy.nse doesn't work.


From: Hongyi Zhao <hongyi.zhao () gmail com>
Date: Sat, 28 Mar 2015 01:33:09 +0000 (UTC)

Hi all,

According to description on the following webpage:

http://nmap.org/nsedoc/scripts/socks-open-proxy.html

The socks-open-proxy.nse cab accept two 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>
*******************

According to the above notes, I do the following tests, but failed when 
using the customized arguments.  See the following testing results for 
detail:

--------------------- begin ----------------------
werner@debian:~$ nmap -T4 -n -Pn --script +socks-open-proxy -p1081 
37.46.124.70
Starting Nmap 6.47SVN ( http://nmap.org ) at 2015-03-28 09:25 CST
Nmap scan report for 37.46.124.70
Host is up (0.24s latency).
PORT     STATE SERVICE
1081/tcp open  pvuniwien
| socks-open-proxy: 
|   status: open
|   versions: 
|     socks5
|_    socks5

Nmap done: 1 IP address (1 host up) scanned in 3.79 seconds
werner@debian:~$ nmap -T4 -n -Pn --script +socks-open-proxy --script-args 
proxy.url="http://130.158.6.87/api/iphone/",proxy.pattern="*vpn_servers"; -
p1081 37.46.124.70

Starting Nmap 6.47SVN ( http://nmap.org ) at 2015-03-28 09:26 CST
Nmap scan report for 37.46.124.70
Host is up (0.25s latency).
PORT     STATE SERVICE
1081/tcp open  pvuniwien

Nmap done: 1 IP address (1 host up) scanned in 0.93 seconds
----------------------- end --------------------------

Why the customized parameters for socks-open-proxy.nse doesn't work?

Regards
-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: