Nmap Development mailing list archives

-T2 option of nmap 6.47svn doesn't work.


From: Hongyi Zhao <hongyi.zhao () gmail com>
Date: Thu, 26 Mar 2015 02:18:10 +0000 (UTC)

Hi all,

I use the following script to scan some socks5 proxies with nmap 6.47svn:

----------- begin -------------
#!/bin/bash
# store
if [[ -f log.nmap ]]; then  rm log.nmap; fi
socks_found="log.nmap"

# ports to scan
ports="10313,1080,1081,11111,12316,13023,13253,13722,14835,15468,15747,16122,17481,17655,1800,18067,18891,19272,20085,20104,20515,2214,2235,24285,24528,24571,25103,25462,25501,26518,27279,29016,29392,30143,31835,32979,33952,33958,36893,37321,38758,39939,40018,40127,40864,40911,41010,41453,41574,43358,44128,44972,45088,45199,45550,45727,45823,46662,47806,49497,49832,50834,51533,51864,52799,60088,7172,8020,8080,9999"

Min_Hostgroup=20
Min_Parallelism=$((10*$Min_Hostgroup))
Max_Retries=10
Host_Timeout=1800

nmap -T4                                                              \
     ${Min_Hostgroup+--min-hostgroup "$Min_Hostgroup"}              \
     ${Min_Parallelism+--min-parallelism "$Min_Parallelism"}        \
     ${Max_Retries+--max-retries "$Max_Retries"}                    \
     ${Host_Timeout+--host-timeout "$Host_Timeout"}                 \
     -n -Pn                                                           \
     --script "+socks-open-proxy and not http-*"                      \
     -p $ports                                                        \
     -iL host.nmap                                                    \
     2>/dev/null                                                      \
     | tee -a $socks_found 
----------- end ---------------

In my above script, I use -T4 time template, when I try to use -T2, the 
nmap doesn't do anything at all and exited directly.

Another question, even though using -T3 or -T4, nmap can work for my 
case, it will give very few results compared to the results of other 
similar tools, say, "Socks Proxy Checker 1.14" -- see here for detail: 
http://www.socksproxychecker.com/

P.S. In the above tests, I use the same socks5 proxies set as the input 
data for testing with nmap 6.47svn and Socks Proxy Checker.

Any hints?

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: