mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 14:11:29 +00:00
Fix more Lua patterns with '-', see r32566
This commit is contained in:
@@ -232,7 +232,7 @@ tools = { Django = { rapidDetect = function(host, port)
|
||||
consumingDetect = function(page, path)
|
||||
if page then
|
||||
if string.find(page, "content=[\"']WordPress") or
|
||||
string.find(page, "wp-content") then
|
||||
string.find(page, "wp%-content") then
|
||||
return "Wordpress detected. Found common traces on " .. page
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user