Skip to content

Commit b1b10cf

Browse files
committed
Use Rex::ConnectionError
1 parent a549cbb commit b1b10cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/admin/http/netflow_file_download.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def run
5858
'uri' => normalize_uri(datastore['TARGETURI'], 'servlet', 'CSVServlet'),
5959
'vars_get' => { 'schFilePath' => datastore['FILEPATH'] },
6060
})
61-
rescue Rex::ConnectionRefused
61+
rescue Rex::ConnectionError
6262
print_error("#{peer} - Could not connect.")
6363
return
6464
end

0 commit comments

Comments
 (0)