diff --git a/modules/auxiliary/scanner/http/etherpad_duo_login.rb b/modules/auxiliary/scanner/http/etherpad_duo_login.rb index a4daa7af24..a002bd5415 100644 --- a/modules/auxiliary/scanner/http/etherpad_duo_login.rb +++ b/modules/auxiliary/scanner/http/etherpad_duo_login.rb @@ -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'] and res.headers['Server'].include?("EtherPAD") and res.body.include?("EtherPAD Duo")) vprint_good("Running EtherPAD Duo application ...") return true else