Nmap Development mailing list archives
Re: Using ncat as a SSH proxycommand to connect trough proxy
From: Nuno Gonçalves <nunojpg () gmail com>
Date: Mon, 12 Jul 2010 16:37:41 +0100
I believe I found the cause of the problem. Machine at 192.168.137.3 have a tinyproxy running at port 8888 Machine at 192.168.137.5 have ncat listening at port 443 (sudo ncat -l 443) I tested 3 commands from another machine: nc -X connect -x 192.168.137.3:8888 192.168.137.5 443 ncat 192.168.137.5 443 ncat --proxy 192.168.137.3:8888 192.168.137.5 443 All BUT THE LAST, worked as expected. With the last command, lines are only displayed at the remote computer(192.168.137.5) in multiples of two. I.e, the first text line is only displayed after the second is finished and return is pressed. nuno@ground2:~$ nc -X connect -x 192.168.137.3:8888 192.168.137.5 443 1 2 3 4 5 6 7 8 ^C nuno@ground2:~$ ncat --proxy 192.168.137.3:8888 192.168.137.5 443 HTTP/1.0 200 Connection established Proxy-agent: tinyproxy/1.8.1 1 ******NOT DISPLAYED on remote host after return******* 2 ******after return this and previous line are displayed on remote host******** 3 ******NOT DISPLAYED on remote host after return******* 4 ******after return this and previous line are displayed on remote host******** 5 ******NOT DISPLAYED on remote host after return******* 6 ******after return this and previous line are displayed on remote host******** 7 ******NOT DISPLAYED on remote host after return******* 8 ******after return this and previous line are displayed on remote host******** ^C nuno@ground2:~$ ncat 192.168.137.5 443 1 2 3 4 5 6 7 8 ^C nuno@ground2:~$ Regards, -- + Nuno Gonçalves + nunojpg () gmail com + http://nunoassimassim.blogspot.com/ + PORTUGAL E-mail sent directly from Google Mail webmail using HTTPS on behalf of Nuno João Pinto Gonçalves, birth date 1986-11-16. E-mail headers provide good assurance that this message was not tampered and originates from nunojpg () gmail com. If you require additional security, I may provide on request X509 electronic signature under Portuguese government chain. Se precisar de assinatura digital do Cartão de Cidadão, de uma apitadela. _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Using ncat as a SSH proxycommand to connect trough proxy Nuno Gonçalves (Jul 06)
- Re: Using ncat as a SSH proxycommand to connect trough proxy Christopher Atanasopulo [John Doe] (Jul 06)
- Re: Using ncat as a SSH proxycommand to connect trough proxy DePriest, Jason R. (Jul 06)
- Re: Using ncat as a SSH proxycommand to connect trough proxy Nuno Gonçalves (Jul 08)
- Re: Using ncat as a SSH proxycommand to connect trough proxy Christopher Atanasopulo [John Doe] (Jul 08)
- Re: Using ncat as a SSH proxycommand to connect trough proxy Nuno Gonçalves (Jul 08)
- Re: Using ncat as a SSH proxycommand to connect trough proxy Christopher Atanasopulo [John Doe] (Jul 09)
- Re: Using ncat as a SSH proxycommand to connect trough proxy Nuno Gonçalves (Jul 12)
- Re: Using ncat as a SSH proxycommand to connect trough proxy David Fifield (Jul 12)
- Re: Using ncat as a SSH proxycommand to connect trough proxy Nuno Gonçalves (Jul 12)
- Re: Using ncat as a SSH proxycommand to connect trough proxy David Fifield (Jul 12)
- Re: Using ncat as a SSH proxycommand to connect trough proxy Nuno Gonçalves (Jul 08)