Skip to content

Commit d08aff2

Browse files
committed
Land rapid7#7651, nil fix for etherpad_duo_login
2 parents 86ec586 + 4a35f84 commit d08aff2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/etherpad_duo_login.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def is_app_epaduo?
5858
return false
5959
end
6060

61-
if (res and res.code == 200 and res.headers['Server'].include?("EtherPAD") and res.body.include?("EtherPAD Duo"))
61+
if (res and res.code == 200 and res.headers['Server'] =~ /EtherPAD/ and res.body.include?("EtherPAD Duo"))
6262
vprint_good("Running EtherPAD Duo application ...")
6363
return true
6464
else

0 commit comments

Comments
 (0)