summaryrefslogtreecommitdiff
path: root/security/caldera/files/patch-plugins_manx_update-shells.sh
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2023-04-29 01:08:03 -0500
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2023-04-29 01:08:03 -0500
commit84e20fa24498f24ec36a846f4bb69cad07224937 (patch)
tree3d54a28c2f1328ff0c81ae14a5babd1c5e13e944 /security/caldera/files/patch-plugins_manx_update-shells.sh
parentnet/py-aiocoap: update to 0.4.7 (diff)
security/caldera: New port: Automated Adversary Emulation Platform
CALDERA a cyber security platform designed to easily automate adversary emulation, assist manual red-teams, and automate incident response. It is built on the MITRE ATT&CK framework and is an active research project at MITRE. The framework consists of two components: - The core system. This is the framework code, consisting of what is available in this repository. Included is an asynchronous command-and-control (C2) server with a REST API and a web interface. - Plugins. These repositories expand the core framework capabilities and providing additional functionality. Examples include agents, reporting, collections of TTPs and more.
Diffstat (limited to 'security/caldera/files/patch-plugins_manx_update-shells.sh')
-rw-r--r--security/caldera/files/patch-plugins_manx_update-shells.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/caldera/files/patch-plugins_manx_update-shells.sh b/security/caldera/files/patch-plugins_manx_update-shells.sh
new file mode 100644
index 000000000000..97280531ab7d
--- /dev/null
+++ b/security/caldera/files/patch-plugins_manx_update-shells.sh
@@ -0,0 +1,12 @@
+--- plugins/manx/update-shells.sh.orig 2022-08-08 23:34:48 UTC
++++ plugins/manx/update-shells.sh
+@@ -1,7 +1,8 @@
+-#!/bin/bash
++#!/bin/sh
+ cwd=$(pwd)
+ cd shells
+ GOOS=windows go build -o ../payloads/manx.go-windows -ldflags="-s -w" manx.go
+ GOOS=linux go build -o ../payloads/manx.go-linux -ldflags="-s -w" manx.go
+ GOOS=darwin go build -o ../payloads/manx.go-darwin -ldflags="-s -w" manx.go
++GOOS=freebsd go build -o ../payloads/manx.go-freebsd -ldflags="-s -w" manx.go
+ cd $cwd