aboutsummaryrefslogtreecommitdiff
path: root/cowrieder.py
diff options
context:
space:
mode:
authorAda Isopods <me@bathynomus.xyz>2025-05-21 01:20:07 -0600
committerAda Isopods <me@bathynomus.xyz>2026-10-21 23:04:33 -0600
commitc8a31f3c0c957b0aaa913ae72e9955650db957a9 (patch)
tree844ecfb1c19b51c5ae8a7fecef49b8f0294f234c /cowrieder.py
parent0513ce0f84d906e2d7e3655d2dfb58df92a7b706 (diff)
tiny formatting change
Diffstat (limited to 'cowrieder.py')
-rw-r--r--cowrieder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cowrieder.py b/cowrieder.py
index f0450eb..b5c52b7 100644
--- a/cowrieder.py
+++ b/cowrieder.py
@@ -354,10 +354,10 @@ def print_percentage_stats():
print("The top 10% of IPs were responsible for " + str(top_n_percent_of_ips_session_percent(0.1)) + "%")
print("The top 1% of IPs were responsible for " + str(top_n_percent_of_ips_session_percent(0.01)) + "%")
print("The top single IP was responsible for " + str(percent_of_all_sessions(attempt_counts_by_ip[next(iter(attempt_counts_by_ip))])) + "%")
+ print()
else:
num = next(iter(ips_by_attempt_count))
print("\n--- Of a total " + str(num) + " sessions from " + ips_by_attempt_count[num][0] + ": ---")
- print()
if(include_empty_pings):
print(str(percent_of_all_sessions(cnt_pings)) + "% (" + str(cnt_pings) + ") made no attempt to log in")
if(include_failed_logins):