not debugging anymore

This commit is contained in:
n.diaz
2024-11-26 08:35:06 +01:00
parent 7e088119f9
commit 1ac2f2c75e

4
waf.py
View File

@ -201,8 +201,8 @@ async def scan(log):
if rule['store'] == 'suspects': if rule['store'] == 'suspects':
store = suspects store = suspects
if 'in' in rule and rule['in'] in where: if 'in' in rule and rule['in'] in where:
if rule['where'] == 'agent': # if rule['where'] == 'agent':
print(where) # print(where)
store.append(check(ip, host, date_position)) store.append(check(ip, host, date_position))
break break
elif 'startswith' in rule and url.startswith(rule['startswith']) and 'notin' in rule and rule['notin'] not in url: elif 'startswith' in rule and url.startswith(rule['startswith']) and 'notin' in rule and rule['notin'] not in url: