Skip to content

Commit 45f8738

Browse files
committed
Fix stdout errors
1 parent 3515a0a commit 45f8738

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/auxiliary/gather/ssllabs_scan.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,9 +441,9 @@ def output_endpoint_data(r)
441441
{id: 2, name: "SSL", version: "2.0", secure: false, active: false}
442442
]
443443

444-
puts "-----------------------------------------------------------------\n"
444+
print_status "-----------------------------------------------------------------"
445445
print_status "Report for #{r.server_name} (#{r.ip_address})"
446-
puts "-----------------------------------------------------------------\n"
446+
print_status "-----------------------------------------------------------------"
447447

448448
case r.grade.to_s
449449
when "A+", "A", "A-"
@@ -649,7 +649,7 @@ def output_common_info(r)
649649
print_status "Host: #{r.host}"
650650

651651
r.endpoints.each do |e|
652-
puts "\t #{e.ip_address}\n"
652+
print_status "\t #{e.ip_address}\n"
653653
end
654654
end
655655

0 commit comments

Comments
 (0)