finding host more reliabily
This commit is contained in:
BIN
waf.db-shm
Normal file
BIN
waf.db-shm
Normal file
Binary file not shown.
0
waf.db-wal
Normal file
0
waf.db-wal
Normal file
4
waf3.py
4
waf3.py
@ -181,7 +181,9 @@ async def scan(log):
|
||||
url = splitted[6].strip()
|
||||
status = splitted[8].strip()
|
||||
date_position = splitted[3][1:]
|
||||
host = log.parent.parent.basename()
|
||||
# host = log.parent.parent.basename()
|
||||
host = log.splitall()[1]
|
||||
print(host)
|
||||
if ip not in whitelist_ips:
|
||||
for rule in checklist:
|
||||
where = url
|
||||
|
||||
Reference in New Issue
Block a user