Rapid7 Vulnerability & Exploit Database

SAP SOAP RFC RZL_READ_DIR_LOCAL Directory Contents Listing

Back to Search

SAP SOAP RFC RZL_READ_DIR_LOCAL Directory Contents Listing



This module exploits the SAP NetWeaver RZL_READ_DIR_LOCAL function, on the SAP SOAP RFC Service, to enumerate directory contents. It returns only the first 32 characters of the filename since they are truncated. The module can also be used to capture SMB hashes by using a fake SMB share as DIR.


  • Alexey Tyurin
  • nmonkee


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