Comments (9)
@presmedia002 @alfonsostg does it works with the last updates ?
from ghunt.
Is it opening an automated browser to execute the obfuscated Javascript.
So I guess you talk about the Chrome browser version, now what's your chromedriver version ? Either it auto installed a folder in the GHunt directory like a folder named "86" either you manually downloaded the chromedriver in the GHunt directory.
from ghunt.
This issue has been automatically marked as stale because it has not had recent activity on the last 18 days. It will be closed in 6 days if no further activity occurs.
from ghunt.
made sure to not include the quotes when pasting them.
from ghunt.
Try disconnect and relogin in your Google Account and take the cookies with the right names, and try to login to Hangouts and Google Docs before just to be sure you don't have a popup, warning or anything else, because it uses Hangouts and Google Docs to check for the cookies.
from ghunt.
Exact same issue for me.
OS: MacOS catalina 10.15.4
Manual (not docker) installation, clean G account re-logged in, cookies taken from Chrome.
from ghunt.
@mxrch [+] The cookies seems valid !
!
But after it fails in opening browser with:
Google Docs Token => XXXXXXXXXXXXXXXXXXXXXXXX:NNNNNNNNNNN
Traceback (most recent call last):
File "check_and_gen.py", line 159, in <module>
auth_token, hangouts_token = get_hangouts_tokens(cookies, driverpath)
File "check_and_gen.py", line 70, in get_hangouts_tokens
chrome_options=chrome_options
File "/Users/me/opt/anaconda3/lib/python3.7/site-packages/seleniumwire/webdriver/browser.py", line 86, in __init__
super().__init__(*args, **kwargs)
File "/Users/me/opt/anaconda3/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in __init__
desired_capabilities=desired_capabilities)
File "/Users/me/opt/anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "/Users/me/opt/anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 255, in start_session
self.session_id = response['sessionId']
TypeError: 'NoneType' object is not subscriptable
From the documentation I wasn't expecting it to open a browser, just to generate the tokens.
Why is it opening a browser? Just in case, my chrome version is Version 86.0.4240.111 (Official Build) (x86_64)
from ghunt.
Hey.
FYI: ChromeDriver 86.0.4240.22
If I just:
Enter these browser cookies found at accounts.google.com :
__Secure-3PSID =>
APISID =>
SAPISID =>
HSID =>
[+] The cookies seems valid !
Generating the Google Docs and Hangouts token...
Google Docs Token => XXXX:NNNN
Error making request page...
Traceback (most recent call last):
File "/Users/me/opt/anaconda3/lib/python3.7/site-packages/seleniumwire/proxy/proxy2.py", line 91, in proxy_request
conn.request(self.command, path, req_body, dict(req.headers))
(...)
But If I:
./chromedriver&
[1] 12214
Starting ChromeDriver 86.0.4240.22
(...)
(base) ➜ GHunt git:(master) ✗ python check_and_gen.py
[+] Detected stored cookies, checking it
[+] The cookies seems valid !
Do you want to enter new browser cookies from accounts.google.com ? (Y/n) n
Do you want to generate new Google Docs and Hangouts tokens ? (Y/n) y
Generating the Google Docs and Hangouts token...
Google Docs Token =>
Authorization Token =>
Hangouts Token =>
And I can correctly use GHunt!
from ghunt.
Might I recommend using something to grab the cookies programmatically from Chrome?
https://github.com/n8henrie/pycookiecheat
I could send over a pull request sometime this weekend.
from ghunt.
Related Issues (20)
- 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
- Generate Token
- KeyError: 'people' on 3 different accounts HOT 4
- Word Limit Error
- Ghunt won't retrieve name HOT 9
- Can't generate a 'Master Token'
- Ghunt
- ez kurdim
- Ghunt
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.