Skip to content

Commit

Permalink
sources
Browse files Browse the repository at this point in the history
  • Loading branch information
NotaInutilis committed Oct 26, 2023
1 parent b7d4e33 commit 731dbdd
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
2 changes: 2 additions & 0 deletions scripts/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# ./scripts/update.sh

# Cleanup sources:
## Special cleanup for imported sources of other formats (AdBlock, hosts, etc.).
find ./sources/_imported -type f -name "*.txt" -exec sed -ri 's/^[^#[:alnum:]]/#&/; s/^0\.0\.0\.0[[:space:]]*//i' {} \;
## Normalizes URLs into domains: lowercases, remove leading spaces, protocol (`x://`) `www.` subdomains, everything after `/`, only one space before `#`. Keeps comments intact.
find ./sources -type f -name "*.txt" -exec sed -ri 'h; s/[^#]*//1; x; s/#.*//; s/.*/\L&/; s/^[[:space:]]*//i; s/^.*:\/\///i; s/^[.*]*//i; s/^www\.//i; s/\/[^[:space:]]*//i; s/[[:space:]].*$/ /i; G; s/(.*)\n/\1/' {} \;
## Remove duplicate domains from each source file (keeps repeated comments and empty lines for organization).
Expand Down
5 changes: 5 additions & 0 deletions sources/Malware/Malware name squatting.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Fake software site made to look exactly like the original one.
# Definitely dangerous

ķeepass.info
http://keeqass.info/
7 changes: 4 additions & 3 deletions sources/Malware/Software name squatting.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Domain name squatting of an already existing sofware which often does not have an official site.
# Overtakes the real developers on SEO and offers a mirror of the software file instead of a redirection.
# Such disingenuous behavior presents a malware risk.
# Domain name squatting of an already existing sofware
# Often happenw with softwares that don't have an official site (hosted on forums or GitHub), or a regional extension.
# Overtakes the real developers on SEO and hosts their own copy of the software, with a risk of repackaging with badware.

mindthegapps.com
magiskzip.com
vlc.de
3 changes: 3 additions & 0 deletions sources/Malware/Software redistribution.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Repackaged softwares with PUP.

telecharger.com

0 comments on commit 731dbdd

Please sign in to comment.