Removed unnecessary return statements.
parent
6fa8f40b31
commit
a627c3cd5e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue