mirror of
https://github.com/nmap/nmap.git
synced 2026-09-01 16:02:01 +00:00
Add clarifying parentheses to complex boolean statements as needed.
This commit is contained in:
parent
0855eb4c0c
commit
8d7a2bc004
6 changed files with 13 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue