Skip to content

Commit c3d2797

Browse files
committed
Fixed Info fields
1 parent 2778274 commit c3d2797

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

modules/auxiliary/gather/ssllabs_scan.rb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,7 @@ def invalid?
224224

225225
class Chain < ApiObject
226226
has_objects_list :certs, ChainCert
227-
has_fields :subject,
228-
:label,
229-
:issuerSubject,
230-
:issuerLabel,
231-
:issues,
232-
:raw
227+
has_fields :issues
233228

234229
def valid?
235230
issues == 0
@@ -747,7 +742,6 @@ def valid_hostname?(hostname)
747742

748743
def run
749744
delay = datastore['DELAY']
750-
751745
hostname = datastore['HOSTNAME']
752746
unless valid_hostname?(hostname)
753747
print_status "Invalid hostname"

0 commit comments

Comments
 (0)