This commit is contained in:
cubernetes 2023-04-14 07:46:52 +02:00
parent 3a70d69f29
commit 23d455aed7
2 changed files with 7 additions and 5 deletions

View File

@ -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)\"}"

7
blueteam/blueteam1.sh Executable file
View File

@ -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\": \"<b style='color: yellow'>Snort: Intrusion Detected!</b>\", \"timestamp\": \"$(date +%s)\"}"