Generated docs from job=generate-docs branch=master [ci skip]

This commit is contained in:
Atomic Red Team doc generator
2023-04-05 02:34:59 +00:00
parent f604928f8f
commit 52abfcde40
3 changed files with 18 additions and 3 deletions
+7 -1
View File
@@ -26814,6 +26814,10 @@ execution:
description: Command to run
type: string
default: uname
path:
description: Path to busybox.yaml file
type: string
default: "$PathtoAtomicsFolder/T1609/src/busybox.yaml"
dependencies:
- description: 'kubectl must be installed
@@ -26826,7 +26830,9 @@ execution:
'
executor:
command: |
kubectl create -f src/busybox.yaml -n #{namespace}
kubectl create -f #{path} -n #{namespace}
# wait 3 seconds for the instance to come up
sleep 3
kubectl exec -n #{namespace} busybox -- #{command}
cleanup_command: 'kubectl delete pod busybox -n #{namespace}
+7 -1
View File
@@ -46394,6 +46394,10 @@ execution:
description: Command to run
type: string
default: uname
path:
description: Path to busybox.yaml file
type: string
default: "$PathtoAtomicsFolder/T1609/src/busybox.yaml"
dependencies:
- description: 'kubectl must be installed
@@ -46406,7 +46410,9 @@ execution:
'
executor:
command: |
kubectl create -f src/busybox.yaml -n #{namespace}
kubectl create -f #{path} -n #{namespace}
# wait 3 seconds for the instance to come up
sleep 3
kubectl exec -n #{namespace} busybox -- #{command}
cleanup_command: 'kubectl delete pod busybox -n #{namespace}
+4 -1
View File
@@ -30,13 +30,16 @@ Attackers who have permissions, can run malicious commands in containers in the
|------|-------------|------|---------------|
| namespace | K8s namespace to use | string | default|
| command | Command to run | string | uname|
| path | Path to busybox.yaml file | string | $PathtoAtomicsFolder/T1609/src/busybox.yaml|
#### Attack Commands: Run with `bash`!
```bash
kubectl create -f src/busybox.yaml -n #{namespace}
kubectl create -f #{path} -n #{namespace}
# wait 3 seconds for the instance to come up
sleep 3
kubectl exec -n #{namespace} busybox -- #{command}
```