msftidy558

This commit is contained in:
michaelj0hn 2018-07-27 14:29:32 +02:00 committed by GitHub
parent da1363721f
commit 44c1fa9197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -531,11 +531,11 @@ class MetasploitModule < Msf::Auxiliary
connect connect
rescue StandardError => e rescue StandardError => e
print_error("Error:" + e.message) print_error("Error:" + e.message)
return return
end end
# send STARTDT_CON to activate connection # send STARTDT_CON to activate connection
response = send_frame(startcon) response = send_frame(startcon)
if response.nil? if response.nil?
print_error("Could not connect to 104 service") print_error("Could not connect to 104 service")
return return
@ -555,7 +555,7 @@ class MetasploitModule < Msf::Auxiliary
response = send_frame(stopcon) response = send_frame(stopcon)
if response.nil? if response.nil?
print_error("Terminating Connection") print_error("Terminating Connection")
return return
else else
print_status("Terminating Connection") print_status("Terminating Connection")
parse_response(response) parse_response(response)