Rapid7 Vulnerability & Exploit Database

MYSQL File/Directory Enumerator

Back to Search

MYSQL File/Directory Enumerator



Enumerate files and directories using the MySQL load_file feature, for more information see the URL in the references.


  • Robin Wood <robin@digininja.org>


Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/scanner/mysql/mysql_file_enum
msf auxiliary(mysql_file_enum) > show actions
msf auxiliary(mysql_file_enum) > set ACTION < action-name >
msf auxiliary(mysql_file_enum) > show options
    ...show and set options...
msf auxiliary(mysql_file_enum) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security