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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user