GitHack
GitHack copied to clipboard
GitHack处理之后,目标目录中无.git文件夹
CTHHub log题 使用GitHack还原git历史 命令:
python GitHack.py http://challenge-378c7eae57fd469c.sandbox.ctfhub.com:10800/.git/
得到:
[+] Download and parse index file ...
[+] 50x.html
[+] index.html
[OK] index.html
[OK] 50x.html
按理说应该得到
[+] Download and parse index file ...
[+] 50x.html
[+] index.html
[ok] .git
[OK] index.html
[OK] 50x.html
结果没有.git文件夹,只恢复了源文件,没有恢复.git 无法进行git log查看,期待得到原因和解决方法
和你一样
和你一样
还是没有找到解决办法 但是找到一个替换方法,用BugScanTeam 的githack,注意要在Python2环境里使用