From 4fc91d79dd57406f09f5b959ed974c6ec36b881c Mon Sep 17 00:00:00 2001 From: Dylan J Date: Mon, 26 Dec 2022 02:58:03 -0500 Subject: [PATCH] Update monitor.py --- monitor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/monitor.py b/monitor.py index d76dce6..0f64937 100644 --- a/monitor.py +++ b/monitor.py @@ -55,9 +55,9 @@ def check_if_still_under_attack(): if threading.active_count() > 0: return False embed = { - "title": f"Attack ended on {hostname}", + "title": f"Attack - {hostname}", "description": f"The attack on {hostname} has ended.", - "color": "5763719" + "color": "#7B4CB9" } data = { "embeds": [ @@ -120,7 +120,7 @@ def tcpdump(): "https://api.courvix.com/attack/analyze", files={'capture': capture_file}).json() embed = { - "title": f"Attack detected on {hostname}", + "title": f"Attack Detected - {hostname}", "description": f"An attack has been detected on {hostname}. Traffic belongs to " + str(analysis['network_count']) + " networks and there are " + str(analysis["ip_count"]) + " unique IP addresses. We are attempting mitigations.", "color": "15548997",