Nmap Development mailing list archives
Re: Ncat Users' Guide RFC
From: ithilgore <ithilgore.ryu.l () gmail com>
Date: Tue, 24 Mar 2009 18:23:36 +0200
David Fifield wrote:
On Fri, Feb 13, 2009 at 05:09:31AM +0500, M. Shuaib Khan wrote:You might want to elaborate the following paragraph in the "Command execution" section a bit more. It isn't easily comprehended on the first read. May be statement reordering is needed(?). The --exec option (alias -e) takes as an argument the full pathname of the command to be executed, along with any arguments. Apart from argument splitting, the command is not interpreted, only executed with exec. --sh-exec (-c) is the same, except that it executes the command by passing it to */bin/sh -c*. That means that it's not necessary to use the full pathname of the command if it lies in the PATH, environment variable references are expanded, and any other shell interpretation is done.Thanks for your suggestion. I reread the section and I agree that it was not clear. I rewrote it with examples for both --exec and --sh-exec. http://nmap.org/ncat/guide/ncat-advanced.html#ncat-command-exec David Fifield _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
For the following ncat user guide page: http://nmap.org/ncat/guide/ncat-simple-services.html I noticed the following: 1) One typo at 1st paragraph: comamnds instead of commands 2) At the last example (UDP chargen server) wouldn't it be more intuitive to use something other than /dev/zero? Chargen sends a random number of characters, and /dev/zero always returns /0 so no output will be shown at the client's side upon connecting to it. It is also possible to mention that you can see the actual output by specifying the -x option at the client ncat. _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Ncat Users' Guide RFC David Fifield (Feb 12)
- Re: Ncat Users' Guide RFC M. Shuaib Khan (Feb 12)
- Re: Ncat Users' Guide RFC David Fifield (Feb 16)
- Re: Ncat Users' Guide RFC ithilgore (Mar 24)
- Re: Ncat Users' Guide RFC David Fifield (Mar 24)
- Re: Ncat Users' Guide RFC David Fifield (Feb 16)
- Re: Ncat Users' Guide RFC M. Shuaib Khan (Feb 12)
- Re: Ncat Users' Guide RFC Fyodor (Feb 26)