Rapid7 Vulnerability & Exploit Database

HTTP Previous Directory File Scanner

Back to Search

HTTP Previous Directory File Scanner

Created
05/30/2018

Description

This module identifies files in the first parent directory with same name as the given directory path. Example: Test /backup/files/ will look for the following files /backup/files.ext .

Author(s)

  • et <et@metasploit.com>

Development

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/http/prev_dir_same_name_file
msf auxiliary(prev_dir_same_name_file) > show actions
    ...actions...
msf auxiliary(prev_dir_same_name_file) > set ACTION < action-name >
msf auxiliary(prev_dir_same_name_file) > show options
    ...show and set options...
msf auxiliary(prev_dir_same_name_file) > 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

;