Land #7651, nil fix for etherpad_duo_login
commit
d08aff2dcc
|
@ -58,7 +58,7 @@ class MetasploitModule < Msf::Auxiliary
|
|||
return false
|
||||
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 ...")
|
||||
return true
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue