• This repository has been archived on 15/Jun/2021
  • Stars
    star
    706
  • Rank 63,700 (Top 2 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 7 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

GitHack

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

依赖

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

  • git

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

使用方法

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

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

工作流程

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

截图

相关链接