Comments (19)
I confirm the bug, Google changed something.
I unfortunately don't know how to fix this quickly, it will require some time to understand what changes are needed.
from ghunt.
Traceback (most recent call last):
File "/usr/local/bin/ghunt", line 33, in <module>
sys.exit(load_entry_point('ghunt', 'console_scripts', 'ghunt')())
File "/root/GHunt/ghunt/ghunt.py", line 15, in main
parse_and_run()
File "/root/GHunt/ghunt/cli.py", line 31, in parse_and_run
process_args(args)
File "/root/GHunt/ghunt/cli.py", line 38, in process_args
trio.run(login.check_and_login, None, args.clean)
File "/usr/local/lib/python3.10/dist-packages/trio/_core/_run.py", line 1946, in run
raise runner.main_task_outcome.error
File "/root/GHunt/ghunt/modules/login.py", line 38, in check_and_login
cookies, oauth_token = await getting_cookies_dialog(wanted_cookies)
File "/root/GHunt/ghunt/helpers/auth.py", line 143, in getting_cookies_dialog
data = json.loads(base64.b64decode(received_data))
File "/usr/lib/python3.10/base64.py", line 87, in b64decode
return binascii.a2b_base64(s)
binascii.Error: Incorrect padding
help please
from ghunt.
Same issue
from ghunt.
Same here
from ghunt.
same issue:
.d8888b. 888 888 888
d88P Y88b 888 888 888
888 888 888 888 888
888 8888888888 888 888 88888b. 888888
888 88888 888 888 888 888 888 "88b 888
888 888 888 888 888 888 888 888 888
Y88b d88P 888 888 Y88b 888 888 888 Y88b.
"Y8888P88 888 888 "Y88888 888 888 "Y888 v2
By: mxrch (🐦 @mxrchreborn)
Support my work on GitHub Sponsors ! 💖
[-] No stored cookies found
You can facilitate configuring GHunt by using the GHunt Companion extension on Firefox, Chrome, Edge and Opera here :
=> https://github.com/mxrch/ghunt_companion
[1] (Companion) Put GHunt on listening mode (currently not compatible with docker)
[2] (Companion) Paste base64-encoded cookies
[3] Enter manually all cookies
Choice => 1
GHunt is listening on port 60067...
[+] Received cookies !
[-] Seems like the cookies are invalid, try regenerating them.
from ghunt.
please share the solution if found
from ghunt.
Facing same issue, anyone has the solution?
from ghunt.
Whatever I try, keep getting the same issue:
- Tried uninstalling the browser, still keeps failing
- Tried with the new google account, no luck
- Tried with
firefox
, still failed. - Tried with docker image, but failed
Please suggest
from ghunt.
oauth_tokens ???
from ghunt.
I confirm the bug, Google changed something. I unfortunately don't know how to fix this quickly, it will require some time to understand what changes are needed.
Hello. please tell me that there is already a solution :)
from ghunt.
Hey, I found a solution and submitted PR!
Both GHunt and Chrome extension ghunt_companion
needs to be fixed.
If you want to use before PR merges, do followings.
- (If you have already installed ghunt_companion...) disable on your browser
- Clone shion1305/ghunt_companion
- Load the cloned files in your browser with
Developer mode
reference - Clone shion1305/GHunt
- Install required packages with
pip install -r requirements.txt
- Run
python main.py login
from ghunt.
Could you make it more simple to understand for beginners? Thank you.
from ghunt.
@vuter7 Looks like the bug is unrelated to my changes, I think I can't help you.
Providing more details would be appreciated.
from ghunt.
@blackbla1 Then you have to wait until the problem is fixed, unfortunately.
from ghunt.
Little note about it : #481
from ghunt.
Hi all,
I'm encountering the same issue as vuter7. The error is as follows:
Traceback (most recent call last):
File "/GHunt-master/main.py", line 2, in <module>
from ghunt import ghunt; ghunt.main()
^^^^^^^^^^^^
File "/GHunt-master/ghunt/ghunt.py", line 15, in main
parse_and_run()
File "/GHunt-master/ghunt/cli.py", line 31, in parse_and_run
process_args(args)
File "/GHunt-master/ghunt/cli.py", line 38, in process_args
trio.run(login.check_and_login, None, args.clean)
File "/GHunt-master/venv/lib/python3.11/site-packages/trio/_core/_run.py", line 1946, in run
raise runner.main_task_outcome.error
File "/GHunt-master/ghunt/modules/login.py", line 38, in check_and_login
cookies, oauth_token = await getting_cookies_dialog(wanted_cookies)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/GHunt-master/ghunt/helpers/auth.py", line 147, in getting_cookies_dialog
data = json.loads(base64.b64decode(received_data))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/base64.py", line 88, in b64decode
return binascii.a2b_base64(s, strict_mode=validate)
I suspect that the issue lies in the incomplete transmission of the base64-encoded cookie to the GHunt master. As shion mentioned, I have modified both the Ghunt-companion extension and the GHunt master. When I attempt to print "received_data" in auth.py, the result differs from when I simply copy/paste the cookies from Ghunt-companion, indicating that a portion is missing. Any assistance would be appreciated.
from ghunt.
Hi, I posted a screencapture, hope this helps.
#480 (comment)
from ghunt.
@mxrch Boss, I saw you made new commits. Have you guys fixed the cookie issue?
from ghunt.
@mxrch Boss, I saw you made new commits. Have you guys fixed the cookie issue?
Yup ! pipx upgrade ghunt
from ghunt.
Related Issues (20)
- Unable to Install GHunt -> ERROR: Could not build wheels for pillow, which is required to install pyproject.toml-based projects HOT 4
- Ghunt login issue HOT 6
- Current state of GHunt, and cookies bug HOT 2
- [Bug] Some Profile Pictures are not shown when an account with multiple profile photos are specified. HOT 6
- Unable to init ghunt login (python 3.9 error) HOT 1
- Not upgrading to latest version HOT 1
- [Bug] Function `is_default_profile_pic` does not work as expected.
- [Suggestion] Introduce linter, integrate as GitHub Actions.
- Doesn't work!( HOT 10
- ghunt and android HOT 3
- Seems like the cookies are invalid, try regenerating them. HOT 4
- Facing dependencies issue
- Maps analysis causes systematic error HOT 3
- KeyError: 'people' HOT 15
- Hint: The package was installed by debian.
- pip3 install pipx $ pipx ensurepath $ pipx install ghunt HOT 1
- Plenty of errors HOT 1
- Vision API error HOT 1
- Parsing first name and last name from Google Account by email doesn't work
- Search from GAIA ID HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghunt.