File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
modules/auxiliary/scanner/mysql Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def mysql_query_no_handle(sql)
43
43
44
44
def run_host ( ip )
45
45
print_warning ( "For every writable directory found, a file called #{ datastore [ 'FILE_NAME' ] } with the text test will be written to the directory." )
46
- vprint_status ( "Login..." )
46
+ print_status ( "Login..." )
47
47
48
48
unless mysql_login_datastore
49
49
print_error ( 'Unable to login to the server.' )
@@ -58,12 +58,12 @@ def run_host(ip)
58
58
59
59
def check_dir ( dir )
60
60
begin
61
- vprint_status ( "Checking #{ dir } ..." )
61
+ print_status ( "Checking #{ dir } ..." )
62
62
res = mysql_query_no_handle ( "SELECT _utf8'test' INTO DUMPFILE '#{ dir } /" + datastore [ 'FILE_NAME' ] + "'" )
63
63
rescue ::RbMysql ::ServerError => e
64
- vprint_warning ( "#{ e . to_s } " )
64
+ print_warning ( "#{ e . to_s } " )
65
65
rescue Rex ::ConnectionTimeout => e
66
- vprint_error ( "Timeout: #{ e . message } " )
66
+ print_error ( "Timeout: #{ e . message } " )
67
67
else
68
68
print_good ( "#{ dir } is writeable" )
69
69
report_note (
You can’t perform that action at this time.
0 commit comments