-
Notifications
You must be signed in to change notification settings - Fork 228
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
Why does not work? #26
Comments
Thanks for reporting, I will check it out soon. |
same here |
Could you please provide the |
Currently, GitHacker parses the The content of
But when the git repo checkouts to some commit (say
Under that circumstance, the RegExp can not match any result, so the assertion will fail. I will try to figure out how to fix this issue. Thanks a lot for reporting this bug. |
I pushed a hotfix to remedy this bug. Please check it out.
|
not work too. |
@yyg12345678910, thanks for reporting. It sees that your
See the latest code in line 284.
I will release the fixed version soon. Before that, please use the following command to reinstall GitHacker, sorry for the inconvenience.
|
May I ask this error occurred when I was running, what is the error? How to solve it ┌──(kali㉿kali)-[~/GitHacker-master] |
Hello.
root@debian:~# githacker --url https://www.target.com/.git/ --output-folder /home/test/
2022-10-13 20:50:21 INFO 1 urls to be exploited
2022-10-13 20:50:21 INFO Exploiting https://www.target.com/.git/ into /home/test/2885f055223ecdcc046def4094a3c5c6
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:849: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
Traceback (most recent call last):
File "/usr/local/bin/githacker", line 10, in
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/GitHacker/init.py", line 481, in main
delay=args.delay,
File "/usr/local/lib/python3.7/dist-packages/GitHacker/init.py", line 77, in init
self.complete_basic_files_list()
File "/usr/local/lib/python3.7/dist-packages/GitHacker/init.py", line 322, in complete_basic_files_list
branch_names += self.parse_current_branch_name()
File "/usr/local/lib/python3.7/dist-packages/GitHacker/init.py", line 284, in parse_current_branch_name
assert len(branch_names) == 1
AssertionError
The text was updated successfully, but these errors were encountered: