1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 17:59:04 +00:00

Significant changes, both bugfixes and best practice changes, to smb-psexec.nse. Primarily:

o It no longer uses the global environment to store the modules table
o It now uses loadfile() to load the configuration files, which follows best practices better
o The module() line at the top of the configuration files is no longer required, but if it exists all that happens is a warning is printed
o Worked around what appears to be a bug in one person's Nmap install where absolute paths didn't resolve properly -- I couldn't replicate, but he confirmed it was fixed
This commit is contained in:
ron
2010-08-07 19:36:47 +00:00
parent 1f9b7228ee
commit 934cf2edf0
9 changed files with 35 additions and 20 deletions

View File

@@ -1,4 +1,3 @@
module(... or "default", package.seeall)
---This configuration file contains the examples given in smb-psexec.nse.
-- Any variable in the 'config' table in smb-psexec.nse can be overriden in the