Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
SharePointDumper — PowerShell SharePoint extraction + auditing tool for red/blue/purple teams. Enumerates all SharePoint sites/drives a user can access via Microsoft Graph, recursively downloads files, and logs every Graph + SharePoint HTTP request for SIEM correlation, detection engineering, and IR testing. | Kitploit
Tools/GitHubGitHub/zh54321/sharepointdumper
Defensive ToolsOSINT (Open Source Intelligence)Data ExfiltrationInformation GatheringPenetration TestingCloud SecurityAuthenticationRed TeamingIncident ResponseLog Analysis
GitHubzh54321/sharepointdumper
16719168 months agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →

SharePointDumper

View Repository

About

PowerShell SharePoint extraction + auditing tool for red/blue/purple teams. Enumerates all SharePoint sites/drives a user can access via Microsoft Graph, recursively downloads files, and logs every Graph + SharePoint HTTP request for SIEM correlation, detection engineering, and IR testing.

Share

SharePointDumper

SharePointDumper is a PowerShell-based extraction and auditing utility that enumerates SharePoint sites a user can access via Microsoft Graph and downloads files via SharePoint.

It is designed for SOC / DLP testing, purple teaming, and non-sophisticated red-team assessments, and therefore produces detailed reports including downloaded files and every HTTP request (Graph + SharePoint) for SIEM correlation.

The tool does not perform authentication. Instead, it requires an already obtained OAuth2 access token with the appropriate Microsoft Graph permissions (Sites.Read.All or Sites.ReadWrite.All).
If you need help obtaining such a token, you can use EntraTokenAid (examples included below), which simplifies generating usable access tokens.


✨ Features

  • Enumerates SharePoint sites, drives, folders, and files via Microsoft Graph
  • Recursively dumps drives and folders (using SharePoint pre-authentication URLs)
  • No mandatory external dependencies (no Microsoft Graph PowerShell modules etc.)
  • Customize the User-Agent
  • Global download limits: max files & max total size
  • Include/exclude filtering for sites and file extensions
  • Adjustable request throttling with random jitter
  • Optional public-IP lookup
  • Supports simple HTTP proxy
  • Structured report including:
    • Summary (duration, limits, filters, public IP)
    • Accessed SharePoint sites
    • Complete HTTP request logs (CSV or JSON)
  • Redaction of SharePoint download tokens, with an option to log them unredacted
  • Graceful Ctrl+C handling that stops after the current file and still writes the full report and HTTP log before exiting
  • Resume mode, which re-enumerates but skips already downloaded files
  • Optional automatic access token refresh (requires EntraTokenAid https://github.com/zh54321/EntraTokenAid.git)

📦 Pictures

Execution:
alt text

Example CSV API Log (can be CSV or JSON): alt text

Example File Download Log (can be CSV or JSON) alt text


📦 Installation

Clone the repository

git clone https://github.com/zh54321/SharePointDumper.git
cd SharePointDumper

🔑 Requirements

SharePointDumper requires a valid Microsoft Graph access token with delegated permissions to enumerate sites and files:

  • Sites.Read.All or
  • Sites.ReadWrite.All

Furthermore, the OAuth client must be allowed to call SharePoint API.

More than 23 Microsoft first-party applications already have pre-consented Sites.Read… permissions. They can download files from SharePoint, and can be used to obtain a valid token without additional tenant configuration.

Usable first party clients
Download Tool