Nmap Development mailing list archives
ncat: Listen Plus Exec Equals Keep-Open
From: David Millis <tvtronix () yahoo com>
Date: Wed, 24 Feb 2010 21:31:24 -0800 (PST)
On Windows XP, I'm getting ncat 5.21 behavior that suggests combining listen with exec implies keep-open. : ncat -l -p 1234 -e "cmd /c echo hi" : ncat 127.0.0.1 1234 - hi - client exits, server doesn't : ncat 127.0.0.1 1234 - hi - client exits, server doesn't The vulnwatch netcat 1.11 Windows port of Hobbit's code did kill its server when the child exited. I glanced at the source and didn't see an intensional "keepopen = 1" outside of arg handling, so I assume this is a bug. Maybe somewhere in "ncat_exec_win.c"? David _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- ncat: Listen Plus Exec Equals Keep-Open David Millis (Feb 25)
- Re: ncat: Listen Plus Exec Equals Keep-Open David Fifield (Feb 25)
- <Possible follow-ups>
- Re: ncat: Listen Plus Exec Equals Keep-Open David Millis (Mar 01)
- Re: ncat: Listen Plus Exec Equals Keep-Open David Fifield (Mar 05)