throw errors

bug/bundler_fix
h00die 2016-12-12 21:48:08 -05:00
parent 2dca7c871b
commit b5beb2eb93
4 changed files with 12 additions and 0 deletions

View File

@ -78,6 +78,9 @@ class MetasploitModule < Msf::Auxiliary
# read the file data from the socket that we opened
# dont assume theres still a sock to read from. Per #7582
if sock.nil?
error_msg = __FILE__ <<'::'<< __method__.to_s << ':' << 'data_connect failed; posssible invalid response'
print_status(error_msg)
elog(error_msg)
return
else
# read the file data from the socket that we opened

View File

@ -81,6 +81,9 @@ class MetasploitModule < Msf::Auxiliary
# dont assume theres still a sock to read from. Per #7582
if sock.nil?
error_msg = __FILE__ <<'::'<< __method__.to_s << ':' << 'data_connect failed; posssible invalid response'
print_status(error_msg)
elog(error_msg)
return
else
# read the file data from the socket that we opened

View File

@ -77,6 +77,9 @@ class MetasploitModule < Msf::Auxiliary
# read the file data from the socket that we opened
# dont assume theres still a sock to read from. Per #7582
if sock.nil?
error_msg = __FILE__ <<'::'<< __method__.to_s << ':' << 'data_connect failed; posssible invalid response'
print_status(error_msg)
elog(error_msg)
return
else
# read the file data from the socket that we opened

View File

@ -75,6 +75,9 @@ class MetasploitModule < Msf::Auxiliary
# read the file data from the socket that we opened
# dont assume theres still a sock to read from. Per #7582
if sock.nil?
error_msg = __FILE__ <<'::'<< __method__.to_s << ':' << 'data_connect failed; posssible invalid response'
print_status(error_msg)
elog(error_msg)
return
else
# read the file data from the socket that we opened