subdomains by looking at Google Analytics IDs > Python/GO versions > By @JosueEncinar ">
> Get related domains / subdomains by looking at Google Analytics IDs
> Python/GO versions
> By @JosueEncinar
This script try to get related domains / subdomains by looking at Google Analytics IDs from a URL. First search for ID of Google Analytics in the webpage and then request to builtwith with the ID.
Note: It does not work with all websites.It is searched by the following expressions:
-> GTM-[A-Z0-9]+
-> "UA-\d+-\d+"
Available versions:
Python GOInstallation:
Installation according to language.
Python
> cd AnalyticsRelationships/Python
> sudo pip3 install -r requirements.txt
GO
> cd AnalyticsRelationships/GO
> go build -ldflags "-s -w"
Usage
Usage according to language
Python
Or redirect output to a file (banner or information messages are sent to the error output):
GO
Or redirect output to a file (banner or information messages are sent to the error output):
Examples
Python
Output redirection to file /tmp/example.txt:
Without redirection:
GO
Without redirection:
Working with file redirection works just like in Python.
Author
This project has been developed by:
Josué Encinar García -- @JosueEncinarDisclaimer!
This is a PoC. The author is not responsible for any illegitimate use.