Re: how to use --proxy option

Pavel Zhukov <[email protected]>
Newsgroups gmane.comp.security.nmap.devel
Message-ID <[email protected]>
Marc Rousseau <[email protected]> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.