Skip to content

Instantly share code, notes, and snippets.

@yuhui
Last active July 8, 2022 06:31
Show Gist options
  • Save yuhui/e51ece7a95bf819d5422e71c35cb1dd2 to your computer and use it in GitHub Desktop.
Save yuhui/e51ece7a95bf819d5422e71c35cb1dd2 to your computer and use it in GitHub Desktop.
Find the root/apex domain from a web page's hostname by setting a cookie repeatedly starting from the top-level domain.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment