979,1015d978 < It is highly recommended to access the < arguments by calling stdnse.get_script_args() because < it supports multiple variable assignment: < < local username = stdnse.get_script_args(SCRIPT_NAME..".user") < < < local username, pwd = stdnse.get_script_args(SCRIPT_NAME..".user", SCRIPT_NAME..".pass") < < < < If you are an advanced user, you may pass script arguments without the script name as a < prefix. For example: < < nmap --script http-enum --script-args fingerprintfile=/home/nmap/enumdb < < Instead of: < < nmap --script http-enum --script-args http-enum.fingerprintfile=/home/nmap/enumdb < < Note that if you are running multiple scripts that share an argument name, < you need to use the full script name prepended to the argument name to < avoid name collitions. For example: < < nmap --script http-majordomo2-dir-traversal,http-axis2-dir-traversal < --script-args uri=/index.php,http-axis2-dir-traversal.uri=/majordomo/index.php < < < nmap --script http-majordomo2-dir-traversal,http-axis2-dir-traversal < --script-args http-majordomo2-dir.uri=/index.php,http-axis2-dir-traversal.uri=/majordomo/index.php < < < nmap --script http-majordomo2-dir-traversal,http-axis2-dir-traversal < --script-args http-majordomo2-dir.uri=/index.php,uri=/majordomo/index.php < < <