mxrch / GHunt

🕵️‍♂️ Offensive Google framework.
Other
15.65k stars 1.3k forks source link

check_and_gen.py: list index out of range #304

Closed Sonpr0x closed 2 years ago

Sonpr0x commented 2 years ago

Python 3.10.1

Traceback (most recent call last): File "G:\osint\GHunt-master\check_and_gen.py", line 294, in internal_auth, internal_token = get_internal_tokens(driver, cookies_with_osid, tmprinter) File "G:\osint\GHunt-master\check_and_gen.py", line 129, in get_internal_tokens internal_token = body.split("appsitemsuggest-pa")[1].split(",")[3].strip('"') IndexError: list index out of range

ảnh

mxrch commented 2 years ago

Can you check if you have the string "appsitemsuggest-pa" in the req.text of drive.google.com ?

Sonpr0x commented 2 years ago

I couldn't find "req.text" or "appsitemsuggest-pa" in the cookie or path of drive.google.com, can u give me a hint?

KawKum commented 2 years ago

Can you check if you have the string "appsitemsuggest-pa" in the req.text of drive.google.com ?

I also have the same problem. When i check drive.google.com, yes there are request to appsitemsuggest-pa.clients6.google.com I thought this to be the problem, so i use my account that has no file and disable file suggestion setting in google drive and confirm no request made to appsitemsuggest-pa.clients6.google.com. But the problem still happen.

danchengash commented 2 years ago

Am still facing a similar issue.Any fix?

hackerkartel64 commented 2 years ago

Anyone going to solve this ??

mxrch commented 2 years ago

Hello, I can reproduce this issue now (and many users too as I see), so I'm fixing it now.

mxrch commented 2 years ago

Fixed in https://github.com/mxrch/GHunt/commit/85100f2698378f5c7e000d02f1367521ee339598, please do a git pull and retry now.