Add files via upload

This commit is contained in:
Imre Eilertsen
2025-09-30 19:36:34 +02:00
committed by GitHub
parent a76e205322
commit 5098b2cee3
2 changed files with 17 additions and 11 deletions
@@ -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'