From 7e088119f92b2dfbf582720a3b4e0bec2bcb1c81 Mon Sep 17 00:00:00 2001 From: "n.diaz" Date: Tue, 26 Nov 2024 08:20:49 +0100 Subject: [PATCH] debugging --- waf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/waf.py b/waf.py index 477d279..7667e9e 100644 --- a/waf.py +++ b/waf.py @@ -201,7 +201,8 @@ async def scan(log): if rule['store'] == 'suspects': store = suspects if 'in' in rule and rule['in'] in where: - print(where) + if rule['where'] == 'agent': + print(where) store.append(check(ip, host, date_position)) break elif 'startswith' in rule and url.startswith(rule['startswith']) and 'notin' in rule and rule['notin'] not in url: