printing log
This commit is contained in:
2
waf3.py
2
waf3.py
@ -71,7 +71,7 @@ def report_attacks():
|
|||||||
hosts[a.host] = hosts[a.host] + 1
|
hosts[a.host] = hosts[a.host] + 1
|
||||||
else:
|
else:
|
||||||
hosts[a.host] = 1
|
hosts[a.host] = 1
|
||||||
print(a.host)
|
print(a.host)
|
||||||
|
|
||||||
sorted_hosts = dict(sorted(hosts.items(), key=lambda x:x[1]))
|
sorted_hosts = dict(sorted(hosts.items(), key=lambda x:x[1]))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user