Skip to content

Commit

Permalink
update blocklist
Browse files Browse the repository at this point in the history
  • Loading branch information
blocklist committed Jul 31, 2024
1 parent 24eabf9 commit a64195c
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 17 deletions.
10 changes: 9 additions & 1 deletion blocklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7209,6 +7209,7 @@ zekur.nl##body:style(overflow: auto!important)
||co.akadns.net^
||co.la.welt.de^
||co2ok.eco^
||co4.telecommand.telemetry.microsoft.com^
||cobanoir.site^
||cobrowse.bnpparibasfortis.be^
||cobrowser.com^
Expand Down Expand Up @@ -7885,6 +7886,8 @@ zekur.nl##body:style(overflow: auto!important)
||cs.ns1p.net^
||cs.silverpop.com^
||cs.sjtu.edu.cn^
||cs11.wpc.v0cdn.net^
||cs1137.wpc.gammacdn.net^
||csad.cc^
||csbew.com^
||cse.google.com/adsense/*^
Expand Down Expand Up @@ -9825,6 +9828,7 @@ zekur.nl##body:style(overflow: auto!important)
||exepto.ru^
||exit.macandbumble.com^
||exitbee.com^
||exo-ring.msedge.net^
||exo.nel.measure.office.net^
||exoclick.com^
||exosrv.com^
Expand Down Expand Up @@ -12324,6 +12328,7 @@ zekur.nl##body:style(overflow: auto!important)
||ir.mail.yeah.net^
||ireklama.mk^
||iridion.de^
||iris.api.iris.microsoft.com^
||iris.ipsos.com^
||iris.microsoft.com^
||iris.tv^
Expand Down Expand Up @@ -13927,6 +13932,7 @@ zekur.nl##body:style(overflow: auto!important)
||maverickinter.shop^
||maw.wnbfw.com^
||maxhd.vip^
||maxict.nl^$removeparam=rs
||maximiles.com^
||maximusx.com^
||maxmind.com^
Expand Down Expand Up @@ -14107,6 +14113,7 @@ zekur.nl##body:style(overflow: auto!important)
||metricool.com^
||metrics-dra.dt.hicloud.com^
||metrics-drcn.dt.hicloud.com^
||metrics.agent.datadoghq.com^
||metrics.api.drift.com^
||metrics.apple.com^
||metrics.asos.com^
Expand Down Expand Up @@ -14383,6 +14390,7 @@ zekur.nl##body:style(overflow: auto!important)
||mocaplatform.com^
||mochibot.com^
||modern.watson.data.microsoft.com.akadns.net^
||modern.watson.data.microsoft.com^
||modules.wearehearken.eu^
||modulous.huffpost.com^
||moengage.com^
Expand Down Expand Up @@ -15123,6 +15131,7 @@ zekur.nl##body:style(overflow: auto!important)
||odeeo.io^
||odensepokerklub.dk^
||odin.goo.mx^
||odinvzc.azureedge.net^
||odistatic.net^
||odnaknopka.ru^
||odnxs.net^
Expand Down Expand Up @@ -21534,4 +21543,3 @@ zekur.nl##body:style(overflow: auto!important)
||zzsx8.com^
||zzy1.quyaoya.com^
||­konzertfreunde-cloppenburg.de^
||maxict.nl^$removeparam=rs
8 changes: 8 additions & 0 deletions domains.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6407,6 +6407,7 @@ co-in.io
co.akadns.net
co.la.welt.de
co2ok.eco
co4.telecommand.telemetry.microsoft.com
cobanoir.site
cobrowse.bnpparibasfortis.be
cobrowser.com
Expand Down Expand Up @@ -7060,6 +7061,8 @@ cs.luckyorange.net
cs.ns1p.net
cs.silverpop.com
cs.sjtu.edu.cn
cs11.wpc.v0cdn.net
cs1137.wpc.gammacdn.net
csad.cc
csbew.com
csell.co
Expand Down Expand Up @@ -8924,6 +8927,7 @@ exelator.com
exepto.ru
exit.macandbumble.com
exitbee.com
exo-ring.msedge.net
exo.nel.measure.office.net
exoclick.com
exosrv.com
Expand Down Expand Up @@ -11320,6 +11324,7 @@ ir.mail.163.com
ir.mail.yeah.net
ireklama.mk
iridion.de
iris.api.iris.microsoft.com
iris.ipsos.com
iris.microsoft.com
iris.tv
Expand Down Expand Up @@ -13025,6 +13030,7 @@ metrica.yandex.net
metricool.com
metrics-dra.dt.hicloud.com
metrics-drcn.dt.hicloud.com
metrics.agent.datadoghq.com
metrics.api.drift.com
metrics.apple.com
metrics.asos.com
Expand Down Expand Up @@ -13298,6 +13304,7 @@ mobtrakk.com
mobvista.com
mocaplatform.com
mochibot.com
modern.watson.data.microsoft.com
modern.watson.data.microsoft.com.akadns.net
modules.wearehearken.eu
modulous.huffpost.com
Expand Down Expand Up @@ -14017,6 +14024,7 @@ oddset.de
odeeo.io
odensepokerklub.dk
odin.goo.mx
odinvzc.azureedge.net
odistatic.net
odnaknopka.ru
odnxs.net
Expand Down
12 changes: 7 additions & 5 deletions insert.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,15 @@ def insert_records(records, blocklist_file='blocklist.txt'):
record = f'@@{record}'

print('Inserting:', record)
# f.write(record + '\n')
f.write(record + '\n')

os.system('cls' if os.name == 'nt' else 'clear')
print(pyfiglet.figlet_format("INSERT", font="banner3-D"))
print('Inserting domains, valid adp rules, or full paths to blocklist.txt')

if __name__ == '__main__':
record = sys.argv
record.pop(0) # remove filename from list
insert_records(record)
records = sys.argv
records.pop(0) # remove filename from list
if records.__len__() == 0:
print('Inserting domains, valid adp rules, or full paths to blocklist.txt')
records = input('Enter record(s): ')
insert_records(records)
8 changes: 8 additions & 0 deletions little-snitch-blocklist.lsrules
Original file line number Diff line number Diff line change
Expand Up @@ -6405,6 +6405,7 @@
"co.akadns.net",
"co.la.welt.de",
"co2ok.eco",
"co4.telecommand.telemetry.microsoft.com",
"cobanoir.site",
"cobrowse.bnpparibasfortis.be",
"cobrowser.com",
Expand Down Expand Up @@ -7058,6 +7059,8 @@
"cs.ns1p.net",
"cs.silverpop.com",
"cs.sjtu.edu.cn",
"cs11.wpc.v0cdn.net",
"cs1137.wpc.gammacdn.net",
"csad.cc",
"csbew.com",
"csell.co",
Expand Down Expand Up @@ -8922,6 +8925,7 @@
"exepto.ru",
"exit.macandbumble.com",
"exitbee.com",
"exo-ring.msedge.net",
"exo.nel.measure.office.net",
"exoclick.com",
"exosrv.com",
Expand Down Expand Up @@ -11318,6 +11322,7 @@
"ir.mail.yeah.net",
"ireklama.mk",
"iridion.de",
"iris.api.iris.microsoft.com",
"iris.ipsos.com",
"iris.microsoft.com",
"iris.tv",
Expand Down Expand Up @@ -13023,6 +13028,7 @@
"metricool.com",
"metrics-dra.dt.hicloud.com",
"metrics-drcn.dt.hicloud.com",
"metrics.agent.datadoghq.com",
"metrics.api.drift.com",
"metrics.apple.com",
"metrics.asos.com",
Expand Down Expand Up @@ -13296,6 +13302,7 @@
"mobvista.com",
"mocaplatform.com",
"mochibot.com",
"modern.watson.data.microsoft.com",
"modern.watson.data.microsoft.com.akadns.net",
"modules.wearehearken.eu",
"modulous.huffpost.com",
Expand Down Expand Up @@ -14015,6 +14022,7 @@
"odeeo.io",
"odensepokerklub.dk",
"odin.goo.mx",
"odinvzc.azureedge.net",
"odistatic.net",
"odnaknopka.ru",
"odnxs.net",
Expand Down
24 changes: 13 additions & 11 deletions modules/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ def can_be_added(record, blocklist_file='blocklist.txt'):
with open(blocklist_file, 'r') as blocklist:
blocklist_content = blocklist.read()

if F"@@||{record}^" in blocklist_content:
print('Record whitelisted in blocklist:', record)
return False

if F"||{record}^$badfilter" in blocklist_content:
print('Record badlisted in blocklist:', record)
return False
if F"@@||{record}^" in blocklist_content:
print('Record whitelisted in blocklist:', record)
return False
if F"||{record}^$badfilter" in blocklist_content:
print('Record badlisted in blocklist:', record)
return False

# Check if record is already in blocklist
if F"||{record}^" in blocklist_content:
print('Record already exists in blocklist:', record)
return False
# Check if record is already in blocklist
if F"||{record}^" in blocklist_content:
print('Record already exists in blocklist:', record)
return False

return True
8 changes: 8 additions & 0 deletions pihole-blocklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6407,6 +6407,7 @@
0.0.0.0 co.akadns.net
0.0.0.0 co.la.welt.de
0.0.0.0 co2ok.eco
0.0.0.0 co4.telecommand.telemetry.microsoft.com
0.0.0.0 cobanoir.site
0.0.0.0 cobrowse.bnpparibasfortis.be
0.0.0.0 cobrowser.com
Expand Down Expand Up @@ -7060,6 +7061,8 @@
0.0.0.0 cs.ns1p.net
0.0.0.0 cs.silverpop.com
0.0.0.0 cs.sjtu.edu.cn
0.0.0.0 cs11.wpc.v0cdn.net
0.0.0.0 cs1137.wpc.gammacdn.net
0.0.0.0 csad.cc
0.0.0.0 csbew.com
0.0.0.0 csell.co
Expand Down Expand Up @@ -8924,6 +8927,7 @@
0.0.0.0 exepto.ru
0.0.0.0 exit.macandbumble.com
0.0.0.0 exitbee.com
0.0.0.0 exo-ring.msedge.net
0.0.0.0 exo.nel.measure.office.net
0.0.0.0 exoclick.com
0.0.0.0 exosrv.com
Expand Down Expand Up @@ -11320,6 +11324,7 @@
0.0.0.0 ir.mail.yeah.net
0.0.0.0 ireklama.mk
0.0.0.0 iridion.de
0.0.0.0 iris.api.iris.microsoft.com
0.0.0.0 iris.ipsos.com
0.0.0.0 iris.microsoft.com
0.0.0.0 iris.tv
Expand Down Expand Up @@ -13025,6 +13030,7 @@
0.0.0.0 metricool.com
0.0.0.0 metrics-dra.dt.hicloud.com
0.0.0.0 metrics-drcn.dt.hicloud.com
0.0.0.0 metrics.agent.datadoghq.com
0.0.0.0 metrics.api.drift.com
0.0.0.0 metrics.apple.com
0.0.0.0 metrics.asos.com
Expand Down Expand Up @@ -13298,6 +13304,7 @@
0.0.0.0 mobvista.com
0.0.0.0 mocaplatform.com
0.0.0.0 mochibot.com
0.0.0.0 modern.watson.data.microsoft.com
0.0.0.0 modern.watson.data.microsoft.com.akadns.net
0.0.0.0 modules.wearehearken.eu
0.0.0.0 modulous.huffpost.com
Expand Down Expand Up @@ -14017,6 +14024,7 @@
0.0.0.0 odeeo.io
0.0.0.0 odensepokerklub.dk
0.0.0.0 odin.goo.mx
0.0.0.0 odinvzc.azureedge.net
0.0.0.0 odistatic.net
0.0.0.0 odnaknopka.ru
0.0.0.0 odnxs.net
Expand Down
8 changes: 8 additions & 0 deletions rpz-blocklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6407,6 +6407,7 @@ co-in.io CNAME .
co.akadns.net CNAME .
co.la.welt.de CNAME .
co2ok.eco CNAME .
co4.telecommand.telemetry.microsoft.com CNAME .
cobanoir.site CNAME .
cobrowse.bnpparibasfortis.be CNAME .
cobrowser.com CNAME .
Expand Down Expand Up @@ -7060,6 +7061,8 @@ cs.luckyorange.net CNAME .
cs.ns1p.net CNAME .
cs.silverpop.com CNAME .
cs.sjtu.edu.cn CNAME .
cs11.wpc.v0cdn.net CNAME .
cs1137.wpc.gammacdn.net CNAME .
csad.cc CNAME .
csbew.com CNAME .
csell.co CNAME .
Expand Down Expand Up @@ -8924,6 +8927,7 @@ exelator.com CNAME .
exepto.ru CNAME .
exit.macandbumble.com CNAME .
exitbee.com CNAME .
exo-ring.msedge.net CNAME .
exo.nel.measure.office.net CNAME .
exoclick.com CNAME .
exosrv.com CNAME .
Expand Down Expand Up @@ -11320,6 +11324,7 @@ ir.mail.163.com CNAME .
ir.mail.yeah.net CNAME .
ireklama.mk CNAME .
iridion.de CNAME .
iris.api.iris.microsoft.com CNAME .
iris.ipsos.com CNAME .
iris.microsoft.com CNAME .
iris.tv CNAME .
Expand Down Expand Up @@ -13025,6 +13030,7 @@ metrica.yandex.net CNAME .
metricool.com CNAME .
metrics-dra.dt.hicloud.com CNAME .
metrics-drcn.dt.hicloud.com CNAME .
metrics.agent.datadoghq.com CNAME .
metrics.api.drift.com CNAME .
metrics.apple.com CNAME .
metrics.asos.com CNAME .
Expand Down Expand Up @@ -13298,6 +13304,7 @@ mobtrakk.com CNAME .
mobvista.com CNAME .
mocaplatform.com CNAME .
mochibot.com CNAME .
modern.watson.data.microsoft.com CNAME .
modern.watson.data.microsoft.com.akadns.net CNAME .
modules.wearehearken.eu CNAME .
modulous.huffpost.com CNAME .
Expand Down Expand Up @@ -14017,6 +14024,7 @@ oddset.de CNAME .
odeeo.io CNAME .
odensepokerklub.dk CNAME .
odin.goo.mx CNAME .
odinvzc.azureedge.net CNAME .
odistatic.net CNAME .
odnaknopka.ru CNAME .
odnxs.net CNAME .
Expand Down
Loading

0 comments on commit a64195c

Please sign in to comment.