Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 864 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 864 Bytes

~NetshareDump

A simple, effective script for automatically dumping network shares.

Disclaimer

This tool is only intended to be a proof of concept demonstration tool for authorized security testing. Make sure you check with your local laws before running this tool.

Input file

Input file must contain UNC paths :

\\corp.local\root
\\corp.local\sales
\\corp.local\NETLOGON

Usage

Example 1 - List files that match the extension filter

NetShareDump.ps1 -inputFile .\unc_list.txt -extensions ".pdf",".xlsx",".csv" -outPath "C:\dump\" -verbose

Example 2 - Copy files that match the extension filter

NetShareDump.ps1 -inputFile .\unc_list.txt -extensions ".pdf",".xlsx",".csv" -outPath "C:\dump\" -verbose -listOnly

enter image description here