项目
在 GitHub 查看 
Ebryx/GitDump
关于
A pentesting tool that dumps the source code from .git even when the directory traversal is disabled
安全与隐私实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文GitDump
GitDump dumps the source code from .git when the directory traversal is disabled
Requirements
- Python3
Tested on
- Windows
- Kali Linux
What it does
- Dump source code from website/.git directory when directory traversal is disabled.
How it works
- Fetch all common files (.git/index, .git/HEAD, .git/ORIG_HEAD, etc.).
- Find as many objects (sha1) as possible by analyzing .git/packed-refs, .git/index, etc.
- Download idx and pack files.
- Now you can run git checkout -- . to retrieve source code.
How to Use
- python3 git-dump.py https://website.com/.git/
- Create the output directory and dump all the .git files in it.
- After running above script type:
cd output && git checkout -- . - It will recover all source code.
Screenshot

TODO
- Search through git repository for secrets by digging deep into commit history and branches.
Credits Sean B. Palmer for his index file parser. (https://github.com/sbp/gin)
探索相关项目
加载中…