File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ def cookie_decode(cookie_value)
82
82
port = nil
83
83
end
84
84
85
- backend [ :host ] = ( host . nil? ) ? nil : host
86
- backend [ :port ] = ( port . nil? ) ? nil : port
85
+ backend [ :host ] = host . nil? ? nil : host
86
+ backend [ :port ] = port . nil? ? nil : port
87
87
backend
88
88
end
89
89
@@ -146,8 +146,11 @@ def run
146
146
147
147
# Reporting found backends in database
148
148
unless backends . empty?
149
- report_note ( host : rhost , type : " f5_load_balancer_backends" , data : backends )
149
+ report_note ( host : rhost , type : ' f5_load_balancer_backends' , data : backends )
150
150
end
151
+
152
+ rescue ::Rex ::ConnectionRefused
153
+ print_error ( "#{ peer } - Network connection error" )
151
154
rescue ::Rex ::ConnectionError
152
155
print_error ( "#{ peer } - Network connection error" )
153
156
rescue ::OpenSSL ::SSL ::SSLError
You can’t perform that action at this time.
0 commit comments