mirror of
https://github.com/nmap/nmap.git
synced 2026-01-04 13:49:03 +00:00
Remove trailing whitespace in lua files
Whitespace is not significant, so this should not be a problem. https://secwiki.org/w/Nmap/Code_Standards
This commit is contained in:
@@ -18,7 +18,7 @@ detected method.
|
||||
-- @output
|
||||
-- PORT STATE SERVICE
|
||||
-- 80/tcp open http
|
||||
-- | http-auth-finder:
|
||||
-- | http-auth-finder:
|
||||
-- | url method
|
||||
-- | http://192.168.1.162/auth1/index.html HTTP: Basic, Digest, Negotiate
|
||||
-- |_ http://192.168.1.162/auth2/index.html FORM
|
||||
@@ -48,7 +48,7 @@ local function parseAuthentication(resp)
|
||||
if ( not(www_authenticate) ) then
|
||||
return false, "Server returned no authentication headers."
|
||||
end
|
||||
|
||||
|
||||
local challenges = http.parse_www_authenticate(www_authenticate)
|
||||
if ( not(challenges) ) then
|
||||
return false, ("Authentication header (%s) could not be parsed."):format(www_authenticate)
|
||||
|
||||
Reference in New Issue
Block a user