SkillAgentSearch skills...

GitHack

.git 泄漏利用工具,可还原历史版本

Install / Use

/learn @BugScanTeam/GitHack
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

GitHack

.git 泄漏利用工具,可还原历史版本

依赖

不需要安装其它 Python 库,只需要有 git 命令

  • git

使用前需确保 git 在 环境变量中

使用方法

python GitHack.py http://www.example.com/.git/

还原后的文件在 dist/ 目录下

工作流程

  1. 尝试获取 packs克隆
  2. 尝试目录遍历克隆
  3. 尝试从缓存文件(index)、commit记录中恢复

截图

相关链接

View on GitHub
GitHub Stars762
CategoryDevelopment
Updated14d ago
Forks154

Languages

Python

Security Score

95/100

Audited on Mar 18, 2026

No findings