-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
No OSID header detected, exiting - while trying to login #473
Comments
I also have a similar issue. I had this issue with both the previous version of GHunt but also the newest one. Describe the bug Code used: async def main(): asyncio.run(main()) Screenshots/Code Output: You can facilitate configuring GHunt by using the GHunt Companion extension on Firefox, Chrome, Edge and Opera here : [1] (Companion) Put GHunt on listening mode (currently not compatible with docker) [+] Got OAuth2 token => oauth2_4/{deducted_oath_token} [Connected account] 🔑 A master token has been generated for your account and saved in the [+] New token for chrome has been generated params: {} req.cookies: <Cookies[]> Process finished with exit code 1 System (please complete the following information): Windows 10 Additional context
|
Describe the bug
Getting an exception while trying to login
No OSID header detected, exiting
Traceback (most recent call last):
File "/Users/root/.local/bin/ghunt", line 8, in
sys.exit(main())
^^^^^^
File "/Users/root/.local/pipx/venvs/ghunt/lib/python3.11/site-packages/ghunt/ghunt.py", line 15, in main
parse_and_run()
File "/Users/root/.local/pipx/venvs/ghunt/lib/python3.11/site-packages/ghunt/cli.py", line 31, in parse_and_run
process_args(args)
File "/Users/root/.local/pipx/venvs/ghunt/lib/python3.11/site-packages/ghunt/cli.py", line 38, in process_args
trio.run(login.check_and_login, None, args.clean)
File "/Users/root/.local/pipx/venvs/ghunt/lib/python3.11/site-packages/trio/_core/_run.py", line 1946, in run
raise runner.main_task_outcome.error
File "/Users/root/.local/pipx/venvs/ghunt/lib/python3.11/site-packages/ghunt/modules/login.py", line 90, in check_and_login
ghunt_creds.osids = await gen_osids(cookies, osids)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/root/.local/pipx/venvs/ghunt/lib/python3.11/site-packages/ghunt/helpers/auth.py", line 92, in gen_osids
raise GHuntOSIDAuthError("[-] No OSID header detected, exiting...")
Screenshots
<title>Error 400 (Bad Request)!!1</title><style nonce="2EWP_kRKkAY-2t-uagH8YA">*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{color:#222;text-align:unset;margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px;}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}pre{white-space:pre-wrap;}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}</style>the call to console.cloud.google.com returns this
400. That’s an error.
The server cannot process the request because it is malformed. It should not be retried. That’s all we know.
System (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: