Land #7651, nil fix for etherpad_duo_login
commit
d08aff2dcc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue