Do safer body check

bug/bundler_fix
jvazquez-r7 2015-01-30 10:22:43 -06:00
parent bc65d2f526
commit c098de27ee
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module Msf::HTTP::Wordpress::XmlRpc
'data' => xml 'data' => xml
) )
return true if res && res.body =~ /<string>Hello!<\/string>/ return true if res && res.body && res.body.to_s =~ /<string>Hello!<\/string>/
return false return false
end end