Skip to content

Commit 6da4b72

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/mysql/mysql_file_enum.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ def initialize
2929
)
3030

3131
register_options([
32-
OptString.new('FILE_LIST', [ true, "List of directories to enumerate", '' ]),
32+
OptPath.new('FILE_LIST', [ true, "List of directories to enumerate", '' ]),
3333
OptString.new('DATABASE_NAME', [ true, "Name of database to use", 'test' ]),
34-
OptString.new('TABLE_NAME', [ true, "Name of table to use", Rex::Text.rand_text_alpha(8) ]),
34+
OptString.new('TABLE_NAME', [ true, "Name of table to use - Warning, if the table already exists its contents will be corrupted", Rex::Text.rand_text_alpha(8) ]),
3535
OptString.new('USERNAME', [ true, 'The username to authenticate as', "root" ])
3636
])
3737

0 commit comments

Comments
 (0)