tracker-control-android
tracker-control-android copied to clipboard
Add new exodus lines
Why not to add more exodus lines? It can be obtained easily with these super shitty lines.
exodus=$(curl -Ls https://reports.exodus-privacy.eu.org/en/trackers/ |
grep "/trackers/" |
grep "link black" |
awk -F'/' '{print $4}' |
sort -hu)
while IFS= read -r line ; do
ex=$(curl -Ls "https://reports.exodus-privacy.eu.org/en/trackers/$line")
echo "$ex" | grep -A1 '<h1 class="main-title">' | tail -n1 | sed 's/^[[:blank:]]\+//'
echo "$ex" | grep "Network detection rule" | grep -o "<code>.*</code>" |
sed 's/<\/\?code>//g;s/^NC$//;s/\\\././g;s/[[:blank:]]\+\?|[[:blank:]]\+\?/\n/g' |
grep "[[:alnum:]]\.[[:alnum:]]" |
sed 's/\\-/-/g;s/\[.*\]//g;s/\*//g;s/^\.//' >> /tmp/exodus
done <<< "$exodus"
sed -i '/^[[:blank:]]\+\?$/d' /tmp/exodus
sort -u /tmp/exodus -o /tmp/exodus
echo "Done"
What are more exodus 'lines'?
As inbuilt hosts, I thought. Nevermind, i digged deeper into your program and I see that I can do it manually. Anyway this idea can be helpful for users to get new hosts lines.
@kasnder the exodus project is a privacy oriented project that aims to detect and extract tracker information from android apps:
https://exodus-privacy.eu.org/en/page/what/