Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

HTTP Previous Directory File Scanner

Disclosed
N/A
Created
May 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 .

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.