Josue87/AnalyticsRelationships
关于
Get related domains / subdomains by looking at Google Analytics IDs
安全与隐私实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
AnalyticsRelationships
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 and hackertarget with the ID.
Note: It does not work with all websites. It is searched by the following expressions:
-> "www\.googletagmanager\.com/ns\.html\?id=[A-Z0-9\-]+"
-> GTM-[A-Z0-9]+
-> "UA-\d+-\d+"
Available versions:
Installation:
Installation according to language.
Python
> git clone https://github.com/Josue87/AnalyticsRelationships.git
> cd AnalyticsRelationships/Python
> sudo pip3 install -r requirements.txt
GO
> git clone https://github.com/Josue87/AnalyticsRelationships.git
> cd AnalyticsRelationships/
> go build -ldflags "-s -w"
Docker
> git clone https://github.com/Josue87/AnalyticsRelationships.git
> cd AnalyticsRelationships
> docker build -t analyticsrelationships:latest .
Usage
Usage according to language
Python
> python3 analyticsrelationships.py -u https://www.example.com
Or redirect output to a file (banner or information messages are sent to the error output):
python3 analyticsrelationships.py -u https://www.example.com > /tmp/example.txt
GO
> ./analyticsrelationships --url https://www.example.com
Or redirect output to a file (banner or information messages are sent to the error output):
> ./analyticsrelationships --url https://www.example.com > /tmp/example.txt
You can also pass a file as input
> cat file.txt | ./analyticsrelationships
Or a single URL
> echo https://www.example.com | ./analyticsrelationships
Docker
Only Python Version.
> docker run -it analyticsrelationships:latest https://www.example.com
Or redirect output to a file (banner or information messages are sent to the error output):
> docker run -it analyticsrelationships:latest https://www.example.com > /tmp/example.txt
Examples
Python
Output redirection to file /tmp/example.txt:

Without redirection:

GO
Without redirection:

Working with file redirection works just like in Python.
An example with a file:

Disclaimer!
This is a PoC. The author is not responsible for any illegitimate use.
探索相关项目
加载中…