1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Replace inline tabs with spaces.

Left some in the @output section, since libraries are apparently
emitting tab-separated tables (mysql or mssql)

https://secwiki.org/w/Nmap/Code_Standards
This commit is contained in:
dmiller
2014-02-03 16:49:26 +00:00
parent 31a2c432e1
commit 63db1bfd12
65 changed files with 159 additions and 158 deletions

View File

@@ -148,17 +148,17 @@ action = function(host, port)
table.insert(failure_urls, r.url)
elseif ( r.status == 200 ) then
table.insert(success_urls, r.url)
-- elseif ( r.status == 401 ) then
-- table.insert(auth_urls, r.url )
-- elseif ( r.status == 401 ) then
-- table.insert(auth_urls, r.url )
end
end
local result = { success_urls, failure_urls }
-- -- insert our URLs requiring auth ONLY if not ALL urls returned auth
-- if (#result > #auth_urls) then
-- table.insert(result, 2, auth_urls)
-- end
-- insert our URLs requiring auth ONLY if not ALL urls returned auth
--if (#result > #auth_urls) then
-- table.insert(result, 2, auth_urls)
--end
return stdnse.format_output(true, result )
end