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: