mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-10-04 22:04:19 +01:00
Add files via upload
This commit is contained in:
@@ -736,17 +736,17 @@
|
||||
196.251.85.197
|
||||
158.94.209.89
|
||||
2001:67c:21e0::ad
|
||||
||104.160.10.0/24^
|
||||
||165.231.154.0/24^
|
||||
||165.231.10.0/24^
|
||||
||165.231.152.0/24^
|
||||
||196.196.52.0/24^
|
||||
||196.196.155.0/24^
|
||||
||196.240.121.0/24^
|
||||
||196.242.179.0/24^
|
||||
||196.245.52.0/24^
|
||||
||196.245.56.0/24^
|
||||
||193.143.1.0/24^
|
||||
/^104\.160\.10\.(1?\d{1,2}|2[0-4]\d|25[0-5])$/
|
||||
/^165\.231\.154\.(1?\d{1,2}|2[0-4]\d|25[0-5])$/
|
||||
/^165\.231\.10\.(1?\d{1,2}|2[0-4]\d|25[0-5])$/
|
||||
/^165\.231\.152\.(1?\d{1,2}|2[0-4]\d|25[0-5])$/
|
||||
/^196\.196\.52\.(1?\d{1,2}|2[0-4]\d|25[0-5])$/
|
||||
/^196\.196\.155\.(1?\d{1,2}|2[0-4]\d|25[0-5])$/
|
||||
/^196\.240\.121\.(1?\d{1,2}|2[0-4]\d|25[0-5])$/
|
||||
/^196\.242\.179\.(1?\d{1,2}|2[0-4]\d|25[0-5])$/
|
||||
/^196\.245\.52\.(1?\d{1,2}|2[0-4]\d|25[0-5])$/
|
||||
/^196\.245\.56\.(1?\d{1,2}|2[0-4]\d|25[0-5])$/
|
||||
/^193\.143\.1\.(1?\d{1,2}|2[0-4]\d|25[0-5])$/
|
||||
# ——— Anti-phishing filters for tools that support wildcards, are below this line. ———
|
||||
# ——— Don't be worried if you see entries that resemble major Nordic websites; those are wildcard entries for use with e.g. Samsung Knox, that attempts to stop phishing sites that have stolen the website brands in question. ———
|
||||
||vg.no.$dnstype=~CNAME
|
||||
|
||||
@@ -4202,6 +4202,12 @@ def prepare_agh(lines) -> str:
|
||||
line
|
||||
)
|
||||
|
||||
line = re.sub(
|
||||
r"^\|\|(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.0/24\^$",
|
||||
r"/^\1\\.\2\\.\3\\.(1?\\d{1,2}|2[0-4]\\d|25[0-5])$/",
|
||||
line
|
||||
)
|
||||
|
||||
if not line == '':
|
||||
text += line + '\n'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user