From cffa950efa460e57d2355f2fcf3d5660e957606f Mon Sep 17 00:00:00 2001 From: Ckrvxr <85326108+ckrvxr@users.noreply.github.com> Date: Thu, 9 Jan 2025 02:18:00 +0800 Subject: [PATCH] Update StevenBlack.yml --- .github/workflows/StevenBlack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/StevenBlack.yml b/.github/workflows/StevenBlack.yml index 3b2ffcb..b93e601 100644 --- a/.github/workflows/StevenBlack.yml +++ b/.github/workflows/StevenBlack.yml @@ -60,7 +60,7 @@ jobs: match = re.match(r'^(\d{1,3}(?:\.\d{1,3}){3}|[a-fA-F0-9:]+)\s+(.+)$', line) if match: ip, domain = match.groups() - if ip not in filter_ips: + if ip not in filter_ips and not (ip == '0.0.0.0' and domain == '0.0.0.0'): rules.append(f" - DOMAIN,{domain}") with open(output_file, 'w') as f: