1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-16 04:39:03 +00:00

Removed nse_auxiliar. Updated Script Argument parsing. Fixed typos in

documentation. Improved MySQLinfo.nse. Nsock/dnet metatabels are now
protected.
This commit is contained in:
batrick
2008-05-31 02:19:24 +00:00
parent 21a2e7aea6
commit 742ff67100
12 changed files with 125 additions and 336 deletions

View File

@@ -1,5 +1,6 @@
-- See nmaps COPYING for licence
module(... or "stdnse", package.seeall)
module(..., package.seeall)
print_debug = function(...)
local verbosity = 1;
@@ -28,7 +29,7 @@ function strsplit(delimiter, text)
error("delimiter matches empty string!")
end
while 1 do
while true do
local first, last = string.find(text, delimiter, pos)
if first then -- found?
table.insert(list, string.sub(text, pos, first-1))