turut in English to-root. is a tool to extract a list of urls that you can return to the root domain. Where the data can be used for input to other scanning tools.
turut
Extract the root domain from a list of domains.
usage: turut [-h] [-ld LISTDOMAIN]
Extract the root domain from a list of domains.
options:
-h, --help show this help message and exit
-ld LISTDOMAIN, --listdomain LISTDOMAIN
File containing the list of domains
-r, --rank Check domain rank using Tranco list
-s, --score Filter domains by rank score
-o, --output Save output to a file
python3 -m pip install git+https://github.com/xcapri/turut.git
or
python3 -m pip install --upgrade git+https://github.com/xcapri/turut.git
cat test
asdas.redacted.com
xx.redacted.com
https://xx.redacted.com
cat test | turut
redacted.com
redacted.com
or
turut -ld test
redacted.com
redacted.com
or
turut -r -s high,medium
https://amazonaws.com | 6 | 2025-05-27 | High (Very Popular)
https://amagi.tv | 1234 | 2025-05-27 | Medium (Popular)