Nmap Development mailing list archives

Re: implementation of function


From: kirubakaran S <kirubakaran1989 () gmail com>
Date: Wed, 31 Mar 2010 21:44:08 +0530

Hi,
   It helped ! Thanks a lot!

On Wed, Mar 31, 2010 at 9:28 PM, David Fifield <david () bamsoftware com>wrote:

On Wed, Mar 31, 2010 at 09:17:52PM +0530, kirubakaran S wrote:
Hi dev,
    I am looking for extracting the arguments
of script to implement script selection interface for Gsoc-10.
I cannot locate the implementation of "getopt_long_only" funcation
and what it does? can anyone tell me where this function is
implemented?

getopt_long_only is part of the C library.

http://www.gnu.org/software/libc/manual/html_node/Getopt-Long-Options.html

Script argument parsing is done in nse_main.lua. But if you're trying to
extract the arguments supported by a script, you should be looking at
the @args sections in script source code.

David Fifield




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


Current thread: