Skip to content

Commit

Permalink
Add support for wildcard uls format and add some fake windows activat…
Browse files Browse the repository at this point in the history
…or websites
  • Loading branch information
MIOGMIOG committed Aug 8, 2024
1 parent d716d57 commit b0dd4df
Show file tree
Hide file tree
Showing 11 changed files with 486 additions and 17 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Blocklist formats:
3. List of domains - ```https://raw.githubusercontent.com/WindowsAurora/FMHYFilterlist/main/filterlist-domains.txt```
4. Hosts file - ```https://raw.githubusercontent.com/WindowsAurora/FMHYFilterlist/main/filterlist-hosts.txt```
5. List of domains with wildcards - ```https://raw.githubusercontent.com/WindowsAurora/FMHYFilterlist/main/filterlist-wildcard-domains.txt```
6. List of urls with wildcards - ```https://raw.githubusercontent.com/WindowsAurora/FMHYFilterlist/main/filterlist-wildcard-urls.txt```

If your blocker doesn't support any of these formats, feel free to create an issue for adding support for your blocker.

Expand Down
8 changes: 6 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def generate_blocklist(header_file, sitelist_file, output_file, format, filterli
# Add comment symbols before every header line
if format == 'ublock' or format == 'abp':
header_lines[i] = ('! ' + header_lines[i])
if format == 'hosts' or format == 'domains' or format == 'wildcard_domains':
if format == 'hosts' or format == 'domains' or format == 'wildcard_domains' or format == 'wildcard_urls':
header_lines[i] = ('# ' + header_lines[i])

# Add proper filterlist formatting to the domains
Expand All @@ -49,8 +49,11 @@ def generate_blocklist(header_file, sitelist_file, output_file, format, filterli
domains_lines[i] = ('0.0.0.0 ' + domains_lines[i])
elif format == 'wildcard_domains':
domains_lines[i] = ('*.' + domains_lines[i])
elif format == 'wildcard_urls':
domains_lines[i] = line.replace("\n", '')
domains_lines[i] = ('*://' + domains_lines[i] + '/*' + "\n")
if line.startswith('!'):
if format == 'hosts' or format == 'domains' or format == 'wildcard_domains':
if format == 'hosts' or format == 'domains' or format == 'wildcard_domains' or format == 'wildcard_urls':
domains_lines[i] = line.replace('!', '#')
line.format()

Expand All @@ -71,5 +74,6 @@ def generate_blocklist(header_file, sitelist_file, output_file, format, filterli
generate_blocklist("header.txt", "sitelist.txt", "filterlist-abp.txt", "abp")
generate_blocklist("header.txt", "sitelist.txt", "filterlist-domains.txt", "domains")
generate_blocklist("header.txt", "sitelist.txt", "filterlist-wildcard-domains.txt", "wildcard_domains")
generate_blocklist("header.txt", "sitelist.txt", "filterlist-wildcard-urls.txt", "wildcard_urls")
generate_blocklist("header.txt", "sitelist.txt", "filterlist-hosts.txt", "hosts")
print("Build Finished")
30 changes: 28 additions & 2 deletions filterlist-abp.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[Adblock Plus]
! Title: FMHY Unsafe sites filterlist
! Description: Blocks sites in the fmhy unsafe sites filterlists
! Last modified: 10 Jul 2024 08:48 UTC
! Last modified: 08 Aug 2024 16:12 UTC
! Homepage: https://github.com/WindowsAurora/FMHYFilterlist
! License: https://github.com/WindowsAurora/FMHYFilterlist/blob/main/LICENSE
! Issues: https://github.com/WindowsAurora/FMHYFilterlist/issues
! Entries: 262
! Entries: 288
! Format: abp

! Unsafe game sites
Expand Down Expand Up @@ -136,6 +136,15 @@
||en.softonic.com^
||softonic.com^
||ezcrack.info^
||ccm.net^
||downloads.digitaltrends.com^
||softmany.com^
||intercambiosvirtuales.org^
||i-loadzone.com^
||softlay.com^
||pcprogs.ru^
||pcprogs.net^
||freesoft.space^
! Torrent Sites / Clients
||thekickasstorrents.com^
||kickass-official.blue^
Expand Down Expand Up @@ -219,6 +228,7 @@
||zlib.to^
||zlibrary.to^
||zlibrary.is^
||z-library.cc^
||z-lib.io^
||z-lib.ee^
||z-lib.tf^
Expand All @@ -239,12 +249,20 @@
||z-library-proxy.com^
! Fake Windows Activators
||activator-kmspico.net^
||activators4windows.com^
||aktivator-windows.net^
||ativadorkmspico.com^
||dazactivator.com^
||get-kmspico.com^
||getkmspico.com^
||getkmspico.medium.com^
||kms-activator.net^
||kms-auto.net^
||kms-auto.site^
||kms-pc.com^
||kms-tool.com^
||kmsauto.org^
||kmsauto.su^
||kmsautoplus.su^
||kmsmatrix.com^
||kmspico-activator-crack.com^
Expand All @@ -253,10 +271,12 @@
||kmspico-mafia.com^
||kmspico-official.xyz^
||kmspico-oficial.com^
||kmspico-software.net^
||kmspico-tools2.site^
||kmspico.co^
||kmspico.icu^
||kmspico.io^
||kmspico.micaesoft.com^
||kmspico.space^
||kmspico.uno^
||kmspico.ws^
Expand All @@ -265,13 +285,15 @@
||kmspicoativador.org^
||kmspicodownloads.com^
||kmspicofficial.com^
||kmspicofficial.pages.dev^
||kmspicoofficial.com^
||kmspicoportable.com^
||massgrav.shop^
||massgrav.zapto.org^
||massgrave.hopto.org^
||massgraves.online^
||mrkmspico.com^
||official-activator.net^
||official-kmspico.co^
||official-kmspico.com^
||official-kmspico.org^
Expand All @@ -280,3 +302,7 @@
||officialkmspico.net^
||officials-kmspico.com^
||oficial-kmspico.com^
||win7loader.com^
||windows-7.net^
||windows64.net^
||windowsbit.net^
32 changes: 29 additions & 3 deletions filterlist-domains.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Title: FMHY Unsafe sites filterlist
# Description: Blocks sites in the fmhy unsafe sites filterlists
# Last modified: 10 Jul 2024 08:48 UTC
# Last modified: 08 Aug 2024 16:12 UTC
# Homepage: https://github.com/WindowsAurora/FMHYFilterlist
# License: https://github.com/WindowsAurora/FMHYFilterlist/blob/main/LICENSE
# Issues: https://github.com/WindowsAurora/FMHYFilterlist/issues
# Entries: 262
# Entries: 288
# Format: domains

# Unsafe game sites
Expand Down Expand Up @@ -135,6 +135,15 @@ zdnet.com
en.softonic.com
softonic.com
ezcrack.info
ccm.net
downloads.digitaltrends.com
softmany.com
intercambiosvirtuales.org
i-loadzone.com
softlay.com
pcprogs.ru
pcprogs.net
freesoft.space
# Torrent Sites / Clients
thekickasstorrents.com
kickass-official.blue
Expand Down Expand Up @@ -218,6 +227,7 @@ z-lib.nl
zlib.to
zlibrary.to
zlibrary.is
z-library.cc
z-lib.io
z-lib.ee
z-lib.tf
Expand All @@ -238,12 +248,20 @@ z-library.help
z-library-proxy.com
# Fake Windows Activators
activator-kmspico.net
activators4windows.com
aktivator-windows.net
ativadorkmspico.com
dazactivator.com
get-kmspico.com
getkmspico.com
getkmspico.medium.com
kms-activator.net
kms-auto.net
kms-auto.site
kms-pc.com
kms-tool.com
kmsauto.org
kmsauto.su
kmsautoplus.su
kmsmatrix.com
kmspico-activator-crack.com
Expand All @@ -252,10 +270,12 @@ kmspico-activator.in
kmspico-mafia.com
kmspico-official.xyz
kmspico-oficial.com
kmspico-software.net
kmspico-tools2.site
kmspico.co
kmspico.icu
kmspico.io
kmspico.micaesoft.com
kmspico.space
kmspico.uno
kmspico.ws
Expand All @@ -264,18 +284,24 @@ kmspicoactivator.net
kmspicoativador.org
kmspicodownloads.com
kmspicofficial.com
kmspicofficial.pages.dev
kmspicoofficial.com
kmspicoportable.com
massgrav.shop
massgrav.zapto.org
massgrave.hopto.org
massgraves.online
mrkmspico.com
official-activator.net
official-kmspico.co
official-kmspico.com
official-kmspico.org
officialkmspico.com
officialkmspico.download
officialkmspico.net
officials-kmspico.com
oficial-kmspico.com
oficial-kmspico.com
win7loader.com
windows-7.net
windows64.net
windowsbit.net
32 changes: 29 additions & 3 deletions filterlist-hosts.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Title: FMHY Unsafe sites filterlist
# Description: Blocks sites in the fmhy unsafe sites filterlists
# Last modified: 10 Jul 2024 08:48 UTC
# Last modified: 08 Aug 2024 16:12 UTC
# Homepage: https://github.com/WindowsAurora/FMHYFilterlist
# License: https://github.com/WindowsAurora/FMHYFilterlist/blob/main/LICENSE
# Issues: https://github.com/WindowsAurora/FMHYFilterlist/issues
# Entries: 262
# Entries: 288
# Format: hosts

# Unsafe game sites
Expand Down Expand Up @@ -135,6 +135,15 @@
0.0.0.0 en.softonic.com
0.0.0.0 softonic.com
0.0.0.0 ezcrack.info
0.0.0.0 ccm.net
0.0.0.0 downloads.digitaltrends.com
0.0.0.0 softmany.com
0.0.0.0 intercambiosvirtuales.org
0.0.0.0 i-loadzone.com
0.0.0.0 softlay.com
0.0.0.0 pcprogs.ru
0.0.0.0 pcprogs.net
0.0.0.0 freesoft.space
# Torrent Sites / Clients
0.0.0.0 thekickasstorrents.com
0.0.0.0 kickass-official.blue
Expand Down Expand Up @@ -218,6 +227,7 @@
0.0.0.0 zlib.to
0.0.0.0 zlibrary.to
0.0.0.0 zlibrary.is
0.0.0.0 z-library.cc
0.0.0.0 z-lib.io
0.0.0.0 z-lib.ee
0.0.0.0 z-lib.tf
Expand All @@ -238,12 +248,20 @@
0.0.0.0 z-library-proxy.com
# Fake Windows Activators
0.0.0.0 activator-kmspico.net
0.0.0.0 activators4windows.com
0.0.0.0 aktivator-windows.net
0.0.0.0 ativadorkmspico.com
0.0.0.0 dazactivator.com
0.0.0.0 get-kmspico.com
0.0.0.0 getkmspico.com
0.0.0.0 getkmspico.medium.com
0.0.0.0 kms-activator.net
0.0.0.0 kms-auto.net
0.0.0.0 kms-auto.site
0.0.0.0 kms-pc.com
0.0.0.0 kms-tool.com
0.0.0.0 kmsauto.org
0.0.0.0 kmsauto.su
0.0.0.0 kmsautoplus.su
0.0.0.0 kmsmatrix.com
0.0.0.0 kmspico-activator-crack.com
Expand All @@ -252,10 +270,12 @@
0.0.0.0 kmspico-mafia.com
0.0.0.0 kmspico-official.xyz
0.0.0.0 kmspico-oficial.com
0.0.0.0 kmspico-software.net
0.0.0.0 kmspico-tools2.site
0.0.0.0 kmspico.co
0.0.0.0 kmspico.icu
0.0.0.0 kmspico.io
0.0.0.0 kmspico.micaesoft.com
0.0.0.0 kmspico.space
0.0.0.0 kmspico.uno
0.0.0.0 kmspico.ws
Expand All @@ -264,18 +284,24 @@
0.0.0.0 kmspicoativador.org
0.0.0.0 kmspicodownloads.com
0.0.0.0 kmspicofficial.com
0.0.0.0 kmspicofficial.pages.dev
0.0.0.0 kmspicoofficial.com
0.0.0.0 kmspicoportable.com
0.0.0.0 massgrav.shop
0.0.0.0 massgrav.zapto.org
0.0.0.0 massgrave.hopto.org
0.0.0.0 massgraves.online
0.0.0.0 mrkmspico.com
0.0.0.0 official-activator.net
0.0.0.0 official-kmspico.co
0.0.0.0 official-kmspico.com
0.0.0.0 official-kmspico.org
0.0.0.0 officialkmspico.com
0.0.0.0 officialkmspico.download
0.0.0.0 officialkmspico.net
0.0.0.0 officials-kmspico.com
0.0.0.0 oficial-kmspico.com
0.0.0.0 oficial-kmspico.com
0.0.0.0 win7loader.com
0.0.0.0 windows-7.net
0.0.0.0 windows64.net
0.0.0.0 windowsbit.net
Loading

0 comments on commit b0dd4df

Please sign in to comment.