We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86ec586 + 4a35f84 commit d08aff2Copy full SHA for d08aff2
modules/auxiliary/scanner/http/etherpad_duo_login.rb
@@ -58,7 +58,7 @@ def is_app_epaduo?
58
return false
59
end
60
61
- if (res and res.code == 200 and res.headers['Server'].include?("EtherPAD") and res.body.include?("EtherPAD Duo"))
+ if (res and res.code == 200 and res.headers['Server'] =~ /EtherPAD/ and res.body.include?("EtherPAD Duo"))
62
vprint_good("Running EtherPAD Duo application ...")
63
return true
64
else
0 commit comments