Nmap Development mailing list archives

Re: NSE Script http-methods.nse, WAS: NSE script HTTPallowedMethods.nse


From: Bernd Stroessenreuther <berny1 () users sourceforge net>
Date: Wed, 27 Jan 2010 21:20:25 +0100

Hello again,

The script args should have names
based on the name of the script, like http-methods.retest and
http-methods.url.

Tried these names but they make problems when using with nmap 5.00

NSE: http-methods threw an error!
./http-methods.nse:77: attempt to index local 'methods' (a nil value)
stack traceback:
        ./http-methods.nse:77: in function <./http-methods.nse:67>
        (tail call): ?

Do not understand, what is wrong there. Does anyone have a hint for me??
Meanwhile I left the old names.

This is fixed too. The script args are now called http-methods.url-path and 
http-methods.retest

Thanks to David for the hint.

Latest version is attached.

Best regards,
   Bernd Stroessenreuther

Attachment: http-methods.nse
Description:

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

Current thread: