Nmap Development mailing list archives
Re: Ncat-Lua idea: --lua-eval for Lua one-liners
From: David Fifield <david () bamsoftware com>
Date: Wed, 19 Jun 2013 16:23:52 -0700
On Wed, Jun 19, 2013 at 11:52:21PM +0200, Jacek Wielemborek wrote:
I have an idea for an Ncat extension that would work as an addition to --lua-exec. The feature I'm speaking of is --lua-eval, which would allow to run simple Lua one-line scripts directly from the command-line, in contrast to --lua-exec, which requires a file to be created in order to be executed. The invocation would look like this: ncat -l -p 13 --lua-eval 'print(os.date())'
An aside, in bash at least, you can do this with --lua-exec as ncat -l -p 13 --lua-exec <(echo 'print(os.date())') David Fifield _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Ncat-Lua idea: --lua-eval for Lua one-liners Jacek Wielemborek (Jun 19)
- Re: Ncat-Lua idea: --lua-eval for Lua one-liners David Fifield (Jun 19)