Fix check method
This isn't a check, so shouldn't be using the check methodbug/bundler_fix
parent
4e224132e8
commit
0a8aa07131
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue