ENNAENNA

git-dumper

MIT

๐Ÿ’ฅ Exploitation ยท Python

git-dumper downloads and reconstructs Git repositories from web servers where the .git directory is accidentally exposed. Many deployments leave .git accessible, exposing full source code, commit history, configuration files, and potentially credentials. git-dumper handles the complex process of downloading individual Git objects, reconstructing the pack files, and rebuilding a complete working repository. It supports recursive object resolution, handles missing objects gracefully, and works through redirects and basic authentication. A critical tool for web application pentesting where source code access dramatically accelerates vulnerability discovery.

2.5kstars
296forks
10issues
Updated 1mo ago
+I use this

Installation

$ pip install git-dumper

Use Cases

  • Dumping exposed .git directories from web servers
  • Recovering full source code and commit history
  • Finding credentials in Git commit history
  • Source code review from accidentally exposed repositories

Tags

git-exposuresource-codeweb-exploitationinformation-disclosurerecongitsecurityweb

Community Reviews

More in Exploitation