Skip to content
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

Google Session Key/Value Format #3

Open
madprogramer opened this issue Sep 3, 2021 · 1 comment
Open

Google Session Key/Value Format #3

madprogramer opened this issue Sep 3, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@madprogramer
Copy link
Member

To "simulate" a log-in to a Google account, it's possible to use 3 session keys:

  • SID
  • SSID
  • HSID

The following is my current understanding of the format the values for these come in:

  • SID: 70 alphanumeric upper and lower case characters, with dashes in between followed by a final . That's 71 characters in total.
  • SSID: 17 alphabetic upper and lower case characters
  • HSID: 17 alphanumeric upper and lower case characters, with underscores.

If these are correct, I will update the interactive instructions to describe the shape of the values for these cookies, and later also add in a session-cookie shape checker, to make sure cookies are valid.

Until then, the DoAError exception can be used to validate cookies. A DoAError (Denial of Access Error) is raised when invalid cookie values are used to access a private file.

@madprogramer madprogramer added documentation Improvements or additions to documentation help wanted Extra attention is needed labels Sep 3, 2021
@madprogramer madprogramer changed the title Google Session Key Format Google Session Key/Value Format Sep 3, 2021
@madprogramer
Copy link
Member Author

madprogramer commented Sep 11, 2021

Partially fixed with #9
SAPISID and APISID are also a thing now, apparently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant