Skip to content

Commit 2d361fa

Browse files
No need to interpolate when using .to_s
1 parent 95f9b77 commit 2d361fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/mysql/mysql_writable_dirs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def check_dir(dir)
6161
print_status("Checking #{dir}...")
6262
res = mysql_query_no_handle("SELECT _utf8'test' INTO DUMPFILE '#{dir}/" + datastore['FILE_NAME'] + "'")
6363
rescue ::RbMysql::ServerError => e
64-
print_warning("#{e.to_s}")
64+
print_warning(e.to_s)
6565
rescue Rex::ConnectionTimeout => e
6666
print_error("Timeout: #{e.message}")
6767
else

0 commit comments

Comments
 (0)