debugging
This commit is contained in:
3
waf.py
3
waf.py
@ -201,7 +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:
|
||||||
print(where)
|
if rule['where'] == 'agent':
|
||||||
|
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:
|
||||||
|
Reference in New Issue
Block a user