From 23d455aed7be8de903e055f543873344c5883bec Mon Sep 17 00:00:00 2001 From: cubernetes Date: Fri, 14 Apr 2023 07:46:52 +0200 Subject: [PATCH] Rename --- blueteam/auto.sh | 5 ----- blueteam/blueteam1.sh | 7 +++++++ 2 files changed, 7 insertions(+), 5 deletions(-) delete mode 100644 blueteam/auto.sh create mode 100755 blueteam/blueteam1.sh diff --git a/blueteam/auto.sh b/blueteam/auto.sh deleted file mode 100644 index f983800..0000000 --- a/blueteam/auto.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - - -curl -L https://hackhpi.kyudev.xyz/api/red -X POST -H "Content-Type: application/json" -d "{\"data\": \"Start of post-exploitation\", \"timestamp\": \"$(date +%s)\"}" -curl -L https://hackhpi.kyudev.xyz/api/blue -X POST -H "Content-Type: application/json" -d "{\"data\": \"\", \"timestamp\": \"$(date +%s)\"}" diff --git a/blueteam/blueteam1.sh b/blueteam/blueteam1.sh new file mode 100755 index 0000000..c2493e8 --- /dev/null +++ b/blueteam/blueteam1.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +domain=hackhpi23.timo.one + +curl -L https://${domain}/api/red -X POST -H "Content-Type: application/json" -d "{\"data\": \"Start of post-exploitation\", \"timestamp\": \"$(date +%s)\"}" + +curl -L https://${domain}/api/blue -X POST -H "Content-Type: application/json" -d "{\"data\": \"Snort: Intrusion Detected!\", \"timestamp\": \"$(date +%s)\"}"