mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 08:41:34 +00:00
Add clarifying parentheses to complex boolean statements as needed.
This commit is contained in:
@@ -300,8 +300,8 @@ tools = { Django = { rapidDetect = function(host, port)
|
||||
end,
|
||||
|
||||
consumingDetect = function(page, path)
|
||||
if page and string.find(page, "content=[\"']MediaWiki") or
|
||||
string.find(page, "/mediawiki/") then
|
||||
if page and (string.find(page, "content=[\"']MediaWiki") or
|
||||
string.find(page, "/mediawiki/")) then
|
||||
return "MediaWiki detected. Found common traces on " .. page
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user