Skip to content

Commit

Permalink
Update monitor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanjamesdev authored Dec 26, 2022
1 parent 5272399 commit 4fc91d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -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",

Expand Down

0 comments on commit 4fc91d7

Please sign in to comment.