Nmap Development mailing list archives

Re: how to use --proxy option


From: Pavel Zhukov <pzhukov () redhat com>
Date: Mon, 21 Aug 2017 14:23:17 +0200

Marc Rousseau <xyz91987 () gmail com> writes:

Hi, sorry to spam you again but
I'v tried to use how to use --proxy option to use proxy between client and server
as written on ncat manual but always got "client NCAT DEBUG: Proxy returned status code -1."
from the proxy and NOTHING on the server.
I'v tried different shell account as proxies but still got the same
Hi,
This works for me:
# ncat  --proxy host:port --proxy-type socks4 -z -v google.com 80
Ncat: Version 7.40 ( https://nmap.org/ncat )
Ncat: Connected to proxy ::1:22222
Ncat: 0 bytes sent, 0 bytes received in 0.05 seconds.

P.S. Proxy is emulated with 'ssh -D 22222 host1"


Is there good examples on how to this ?

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

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


Current thread: