Nmap Development mailing list archives

Re: proxy patch


From: "Luis A. Bastiao Silva" <luis.kop () gmail com>
Date: Tue, 10 Mar 2009 09:58:44 +0000

Hi Zoltan!

Firstly I'm sorry for delay.

Sounds really good have nmap supporting proxy.

I was testing it but it seems doesn't work:

bastiao:nmap-4.76 luis$ ./nmap --http-proxy myproxy:3028 scanme.nmap.org -v
-p80

Starting Nmap 4.76 ( http://nmap.org ) at 2009-03-10 09:54 WET
Warning: File ./nmap-services exists, but Nmap is using
/usr/share/nmap/nmap-services for security and consistency reasons.  set
NMAPDIR=. to give priority to files in your local directory (may affect the
other data files too).
Initiating Parallel DNS resolution of 1 host. at 09:54
Completed Parallel DNS resolution of 1 host. at 09:54, 0.00s elapsed
Initiating Proxy scan (TCP) at 09:54
Scanning scanme.nmap.org (64.13.134.52) [1 port]
[Freeze here]





On Wed, Feb 18, 2009 at 8:35 AM, Z P <panczelz () gmail com> wrote:

Hi!

Yes, of course :)
If you want use one proxy:
./nmap --socks4 1.1.1.1:1080 <target>
./nmap --socks5 1.1.1.1:1081 <target>
./nmap --http-proxy 1.1.1.1:8080 <target>

if you want use more than one proxy
./nmap --socks4 1.1.1.1:1080,1.1.1.2:1080,1.1.1.3:1080 <target>
./nmap --socks5 1.1.1.1:1081,1.1.1.2:1081,1.1.1.3:1081 <target>
./nmap --http-proxy 1.1.1.1:8080,1.1.1.2:8080,1.1.1.3:8080 <target>

And if you want use more than one proxy type

./nmap --socks5 1.1.1.1:1080 --socks4 1.1.1.2:1081 --http-proxy
1.1.1.3:8080 <target>
./nmap --socks5 1.1.1.1:1080 --http-proxy 1.1.1.3:8080 <target>
...and so on any mix...

With the verbose parameter you can get more information about the
connection procedure.
Please download the last patch from the webpage, because i have
corrected some bugs :)

Thank you for the test :)

Zoltan Panczel

2009/2/17 David Fifield <david () bamsoftware com>:
On Mon, Feb 02, 2009 at 02:45:50PM +0100, Z P wrote:
I have been writing a brand new proxy patch for nmap.
Please test it and report the problems and any other comments.

Here is the patch and some information about the patch:
http://nmap-dev.fw.hu

I have had a quick look at the patch. I like that it is fairly compact.
Can you write back with example usage? Send a command line for a simple
example of scanning through one proxy, and then another example with
chaining.

Is there a way to make a proxy chain with proxies of different types?

David Fifield


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org



Regards,
-- 
Luís A. Bastião Silva

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: