Fixed issue #7650 where etherpad_duo_login module may crash
Add check for presence of Server header.bug/bundler_fix
parent
86ec5861f9
commit
35fdf1473b
|
@ -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'] and res.headers['Server'].include?("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