Land #7651, nil fix for etherpad_duo_login

bug/bundler_fix
William Vu 2016-12-03 13:11:13 -06:00
commit d08aff2dcc
No known key found for this signature in database
GPG Key ID: 68BD00CE25866743
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class MetasploitModule < Msf::Auxiliary
return false return false
end end
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"))
vprint_good("Running EtherPAD Duo application ...") vprint_good("Running EtherPAD Duo application ...")
return true return true
else else