Skip to content

Commit e7604f8

Browse files
committed
added a warning and using optpath
1 parent 6da4b72 commit e7604f8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

modules/auxiliary/scanner/mysql/mysql_file_enum.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ def initialize
3939

4040
def run_host(ip)
4141
print_status("Checking " + ip)
42-
# Should check this before running at all, this is run on a
43-
# per-host level
44-
if not ::File.exists?(datastore['FILE_LIST'])
45-
print_error "File list does not exist!"
46-
return
47-
end
4842

4943
if (not mysql_login_datastore)
5044
return

0 commit comments

Comments
 (0)