diff options
| author | Ada Isopods <me@bathynomus.xyz> | 2025-05-21 01:20:07 -0600 |
|---|---|---|
| committer | Ada Isopods <me@bathynomus.xyz> | 2026-10-21 23:04:33 -0600 |
| commit | c8a31f3c0c957b0aaa913ae72e9955650db957a9 (patch) | |
| tree | 844ecfb1c19b51c5ae8a7fecef49b8f0294f234c | |
| parent | 0513ce0f84d906e2d7e3655d2dfb58df92a7b706 (diff) | |
tiny formatting change
| -rw-r--r-- | cowrieder.py | 2 |
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): |
