Fixed Info fields

bug/bundler_fix
Denis Kolegov 2015-06-16 04:22:22 -04:00
parent 2778274e47
commit c3d2797f10
1 changed files with 1 additions and 7 deletions

View File

@ -224,12 +224,7 @@ class Metasploit3 < Msf::Auxiliary
class Chain < ApiObject
has_objects_list :certs, ChainCert
has_fields :subject,
:label,
:issuerSubject,
:issuerLabel,
:issues,
:raw
has_fields :issues
def valid?
issues == 0
@ -747,7 +742,6 @@ class Metasploit3 < Msf::Auxiliary
def run
delay = datastore['DELAY']
hostname = datastore['HOSTNAME']
unless valid_hostname?(hostname)
print_status "Invalid hostname"