summaryrefslogtreecommitdiff
path: root/security/caldera/files/patch-plugins_sandcat_update-agents.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_sandcat_update-agents.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_sandcat_update-agents.sh')
-rw-r--r--security/caldera/files/patch-plugins_sandcat_update-agents.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/caldera/files/patch-plugins_sandcat_update-agents.sh b/security/caldera/files/patch-plugins_sandcat_update-agents.sh
new file mode 100644
index 000000000000..1d3129337293
--- /dev/null
+++ b/security/caldera/files/patch-plugins_sandcat_update-agents.sh
@@ -0,0 +1,16 @@
+--- plugins/sandcat/update-agents.sh.orig 2022-07-20 19:48:00 UTC
++++ plugins/sandcat/update-agents.sh
+@@ -1,10 +1,11 @@
+-#!/bin/bash
++#!/bin/sh
+ # generates payloads for each os
+
+-function build() {
++build() {
+ GOOS=windows go build -o ../payloads/sandcat.go-windows -ldflags="-s -w" sandcat.go
+ GOOS=linux go build -o ../payloads/sandcat.go-linux -ldflags="-s -w" sandcat.go
+ GOOS=darwin go build -o ../payloads/sandcat.go-darwin -ldflags="-s -w" sandcat.go
++GOOS=freebsd go build -o ../payloads/sandcat.go-freebsd -ldflags="-s -w" sandcat.go
+ }
+ cd gocat && build
+ cd ..