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

module

SMB Directory Listing Utility

Disclosed
N/A
Created
May 30, 2018

Description

This module lists the directory of a target share and path. The only reason
to use this module is if your existing SMB client is not able to support the features
of the Metasploit Framework that you need, like pass-the-hash authentication.

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