Skip to content

Some websites' urls have elements hashed in base64 #454

@zhinu

Description

@zhinu

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
ÃÜ

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions