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

Some websites' urls have elements hashed in base64 #454

Open
zhinu opened this issue Sep 22, 2021 · 0 comments
Open

Some websites' urls have elements hashed in base64 #454

zhinu opened this issue Sep 22, 2021 · 0 comments

Comments

@zhinu
Copy link
Collaborator

zhinu commented Sep 22, 2021

When trying to findout the location of the user sometimes it is found in the url.

However Ubereats has the address of the user hashed into the url.

I.e.

https://www.ubereats.com/fr/feed?pl=JTdCJTIyYWRkcmVzcyUyMiUzQSUyMkFtaWVucyUyMiUyQyUyM[…]OS44OTQwNjclMkMlMjJsb25naXR1ZGUlMjIlM0EyLjI5NTc1MyU3RA%3D%3D

we can extract what is located after pl=

JTdCJTIyYWRkcmVzcyUyMiUzQSUyMkFtaWVucyUyMiUyQyUyMnJlZmVyZW5jZSUyMiUzQSUyMkNoSUpDM2FMMXhPRTUwY1I0Q0JpZ1Q3eENnUSUyMiUyQyUyMnJlZmVyZW5jZVR5cGUlMjIlM0ElMjJnb29nbGVfcGxhY2VzJTIyJTJDJTIybGF0aXR1ZGUlMjIlM0E0OS44OTQwNjclMkMlMjJsb25naXR1ZGUlMjIlM0EyLjI5NTc1MyU3RA%3D%3D

decrypted with base64

%7B%22address%22%3A%22Amiens%22%2C%22reference%22%3A%22ChIJC3aL1xOE50cR4CBigT7xCgQ%22%2C%22referenceType%22%3A%22google_places%22%2C%22latitude%22%3A49.894067%2C%22longitude%22%3A2.295753%7D
ÃÜ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant