From 28550e1a24b9e489d1b73c18627a9cd280942950 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 8 Aug 2024 11:28:26 -0400 Subject: [PATCH] Update docker-entrypoint.sh - For changes in CS 4.10 --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index e988607..a28a8fe 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -7,7 +7,7 @@ IPADDRESS="$(ip address | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cu cd /opt/cobaltstrike token=`curl -s https://download.cobaltstrike.com/download -d "dlkey=${COBALTSTRIKE_KEY}" | grep 'href="/downloads/' | cut -d '/' -f3` -curl -s https://download.cobaltstrike.com/downloads/${token}/latest46/cobaltstrike-dist.tgz -o /tmp/cobaltstrike.tgz +curl -s https://download.cobaltstrike.com/downloads/${token}/latest410/cobaltstrike-dist-linux.tgz -o /tmp/cobaltstrike.tgz tar zxf /tmp/cobaltstrike.tgz -C /opt echo ${COBALTSTRIKE_KEY} | /opt/cobaltstrike/update /opt/cobaltstrike/teamserver $IPADDRESS ${COBALTSTRIKE_PASS} /opt/cobaltstrike/profiles/${COBALTSTRIKE_PROFILE}.profile ${COBALTSTRIKE_EXP}