Removed unnecessary return statements.

bug/bundler_fix
Stephen Haywood 2016-10-03 10:02:26 -04:00 committed by GitHub
parent 6fa8f40b31
commit a627c3cd5e
1 changed files with 0 additions and 4 deletions

View File

@ -64,10 +64,8 @@ class MetasploitModule < Msf::Auxiliary
res = mysql_query_no_handle("SELECT _utf8'test' INTO DUMPFILE '#{dir}/" + datastore['FILE_NAME'] + "'") res = mysql_query_no_handle("SELECT _utf8'test' INTO DUMPFILE '#{dir}/" + datastore['FILE_NAME'] + "'")
rescue ::RbMysql::ServerError => e rescue ::RbMysql::ServerError => e
vprint_warning("#{e.to_s}") vprint_warning("#{e.to_s}")
return
rescue Rex::ConnectionTimeout => e rescue Rex::ConnectionTimeout => e
vprint_error("Timeout: #{e.message}") vprint_error("Timeout: #{e.message}")
return
else else
print_good("#{dir} is writeable") print_good("#{dir} is writeable")
report_note( report_note(
@ -79,8 +77,6 @@ class MetasploitModule < Msf::Auxiliary
:update => :unique_data :update => :unique_data
) )
end end
return
end end
end end