1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-08 07:29:03 +00:00

Re-indent some scripts. Whitespace-only commit

https://secwiki.org/w/Nmap/Code_Standards
This commit is contained in:
dmiller
2014-01-31 13:02:29 +00:00
parent 64fb5b3482
commit d36c08dcf5
137 changed files with 3977 additions and 3977 deletions

View File

@@ -38,21 +38,21 @@ dependencies = {"smb-brute"}
hostrule = function(host)
return smb.get_port(host) ~= nil
return smb.get_port(host) ~= nil
end
action = function(host)
local states = {}
repeat
local status, result = smb.start_ex(host, true, true)
if(status) then
table.insert(states, result) -- Keep the result so it doesn't get garbage cleaned
stdnse.print_debug(1, "smb-flood: Connection successfully opened")
stdnse.sleep(.1)
else
stdnse.print_debug(1, "smb-flood: Connection failed: %s", result)
stdnse.sleep(1)
end
until false
local states = {}
repeat
local status, result = smb.start_ex(host, true, true)
if(status) then
table.insert(states, result) -- Keep the result so it doesn't get garbage cleaned
stdnse.print_debug(1, "smb-flood: Connection successfully opened")
stdnse.sleep(.1)
else
stdnse.print_debug(1, "smb-flood: Connection failed: %s", result)
stdnse.sleep(1)
end
until false
end