Nmap Development mailing list archives

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


From: Daniel Miller <bonsaiviking () gmail com>
Date: Wed, 25 Mar 2015 22:26:48 -0500

Hongyi,

If you look at the error messages you get when you combine
--min-parallelism with -T2, it's pretty simple:

$ nmap --min-parallelism 200 -T2 localhost
Warning: Your --min-parallelism option is pretty high!  This can hurt
reliability.
--min-parallelism=200 must be less than or equal to --max-parallelism=1
QUITTING!

-T2 means --max-parallelism=1 --scan-delay 400ms

Dan

On Wed, Mar 25, 2015 at 9:18 PM, Hongyi Zhao <hongyi.zhao () gmail com> wrote:

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/

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

Current thread: