Nmap Development mailing list archives

Re: ncat: Listen Plus Exec Equals Keep-Open


From: David Millis <tvtronix () yahoo com>
Date: Fri, 26 Feb 2010 09:20:53 -0800 (PST)

Do you have a reason to prefer the one-connection
mode?
Message passing between local and remote scripts.

 - One box triggers another box to start a script and both run in parallel.
 - Some lines later, remote sets up a one-time listen to pipe into a process.
 - Local sets up a one-time connect from a process of its own.

Currently the listener hangs, since it won't die until killed.
The connector has --send-only, so that script can continue.


Technically, the remote side could "start /b ncat ..." to fork it off, wait for a sign it got the message, then 
taskkill ncat... but that's messy, fragile, and brings in cmd's retarded nested quote handling.



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


Current thread: