error after success message
MR-pentestGuy opened this issue · 12 comments
Traceback (most recent call last):
File "GitHacker.py", line 186, in
main()
File "GitHacker.py", line 162, in main
nexthash = line.split(" ")[1]
IndexError: list index out of range
Thanks for reporting! For reproducing, could you please provide the target website you were testing?
Traceback (most recent call last):
File "GitHacker.py", line 186, in
main()
File "GitHacker.py", line 162, in main
nexthash = line.split(" ")[1]
IndexError: list index out of range
try use on linux XD
@N0b1ta could you please provide the target website you were testing?
Also, please provide the environment you are using, eg: git version
uname
Linux VM-0-9-ubuntu 5.4.0-58-generic #64-Ubuntu SMP Wed Dec 9 08:16:25 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Traceback (most recent call last):
File "GitHacker.py", line 195, in
main()
File "GitHacker.py", line 171, in main
nexthash = line.split(" ")[1]
IndexError: list index out of range
ctf buuoj
https://buuoj.cn/challenges#[BJDCTF2020]Mark%20loves%20cat
Got it, I will check it out soon. Thank you for reporting this issue, bro!
@KangbaoShi @N0b1ta @MR-pentestGuy
Solved. Please check it out.
Thank you guys for reporting this issue.
一楼应该和我一样。使用的是源码编译。所以报错了。
一楼应该和我一样。使用的是源码编译。所以报错了。
你们的做法没问题,之前确实是有 bug 没有处理到位。@KangBaoShi
现在重构了代码,不会出现之前的问题了,另外现在也支持使用 pip 安装了。
如果方便的话,麻烦你帮忙测试一下之前的问题是否还存在,感谢!
可以了。但必须以root用户编译。不然加入环境变量的时候会出现警告。无法加入到环境变量中。
WARNING: The script githacker is installed in '/home/xxx/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
可以了。但必须以root用户编译。不然加入环境变量的时候会出现警告。无法加入到环境变量中。
WARNING: The script githacker is installed in '/home/xxx/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
好的,既然问题已经解决,本 Issue 关闭。