From aa9410b1614dcbfbed581fc70edd65ee5de67201 Mon Sep 17 00:00:00 2001 From: Atomic Red Team doc generator Date: Fri, 2 Aug 2024 21:45:08 +0000 Subject: [PATCH] Generated docs from job=generate-docs branch=master [ci skip] --- atomics/Indexes/containers-index.yaml | 6 +++--- atomics/Indexes/index.yaml | 6 +++--- atomics/T1046/T1046.md | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/atomics/Indexes/containers-index.yaml b/atomics/Indexes/containers-index.yaml index aea28b2e9a..249e83976e 100644 --- a/atomics/Indexes/containers-index.yaml +++ b/atomics/Indexes/containers-index.yaml @@ -51689,9 +51689,9 @@ discovery: ' executor: command: |- - docker build -t t1046 /root/AtomicRedTeam/atomics/T1046/src/ - docker run --name t1046_container -d -t t1046 - docker exec t1046_container ./test.sh + docker build -t t1046 $PathToAtomicsFolder/T1046/src/ + docker run --name t1046_container --rm -d -t t1046 + docker exec t1046_container /scan.sh cleanup_command: |- docker stop t1046_container docker rmi -f t1046 diff --git a/atomics/Indexes/index.yaml b/atomics/Indexes/index.yaml index 2f59405092..7151a54296 100644 --- a/atomics/Indexes/index.yaml +++ b/atomics/Indexes/index.yaml @@ -105965,9 +105965,9 @@ discovery: ' executor: command: |- - docker build -t t1046 /root/AtomicRedTeam/atomics/T1046/src/ - docker run --name t1046_container -d -t t1046 - docker exec t1046_container ./test.sh + docker build -t t1046 $PathToAtomicsFolder/T1046/src/ + docker run --name t1046_container --rm -d -t t1046 + docker exec t1046_container /scan.sh cleanup_command: |- docker stop t1046_container docker rmi -f t1046 diff --git a/atomics/T1046/T1046.md b/atomics/T1046/T1046.md index 63b9f510ae..e88b2ebde9 100644 --- a/atomics/T1046/T1046.md +++ b/atomics/T1046/T1046.md @@ -369,9 +369,9 @@ Attackers may try to obtain a list of services that are operating on remote host ```sh -docker build -t t1046 /root/AtomicRedTeam/atomics/T1046/src/ -docker run --name t1046_container -d -t t1046 -docker exec t1046_container ./test.sh +docker build -t t1046 $PathToAtomicsFolder/T1046/src/ +docker run --name t1046_container --rm -d -t t1046 +docker exec t1046_container /scan.sh ``` #### Cleanup Commands: