Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Your favorite Ncat/nc/Netcat trick?
From: Greg Darke <greg () tsukasa net au>
Date: Tue, 17 Feb 2009 08:56:52 +1100

On Thu, Feb 12, 2009 at 05:00:09PM -0700, David Fifield wrote:
<snip>
What's your favorite Ncat trick? Did it (or nc, etc.) ever get you out
of a jam? Do you have any experiences that would make good examples for
the users' guide?
<snip>

I use nc all of the time to ssh to computers behind my nat router (without
having to forward ports). You will need to be able to ssh to the router
itself, then you can use a command similar to the following:

ssh -o ProxyCommand="ssh -q router nc %h %p" computer.behind.router

-- 
Greg Darke

Attachment: _bin
Description:


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

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]