Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHack处理之后,目标目录中无.git文件夹 #24

Open
davidwu1001 opened this issue Aug 24, 2023 · 2 comments
Open

GitHack处理之后,目标目录中无.git文件夹 #24

davidwu1001 opened this issue Aug 24, 2023 · 2 comments

Comments

@davidwu1001
Copy link

davidwu1001 commented Aug 24, 2023

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查看,期待得到原因和解决方法

@Oision-hub
Copy link

和你一样

@davidwu1001
Copy link
Author

和你一样

还是没有找到解决办法
但是找到一个替换方法,用BugScanTeam 的githack,注意要在Python2环境里使用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants