Fix check method

This isn't a check, so shouldn't be using the check method
bug/bundler_fix
sinn3r 2014-01-19 16:47:15 -06:00
parent 4e224132e8
commit 0a8aa07131
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ class Metasploit3 < Msf::Auxiliary
def run_host(ip)
return unless check
return unless is_vmware?
each_user_pass { |user, pass|
result = vim_do_login(user, pass)
case result
@ -62,7 +62,7 @@ class Metasploit3 < Msf::Auxiliary
# Mostly taken from the Apache Tomcat service validator
def check
def is_vmware?
soap_data =
%Q|<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<env:Body>