diff --git a/atomics/T1027/T1027.md b/atomics/T1027/T1027.md index 2137d78326..157242979b 100644 --- a/atomics/T1027/T1027.md +++ b/atomics/T1027/T1027.md @@ -75,7 +75,7 @@ rm /tmp/art.sh ##### Description: encode the command into base64 file ##### Check Prereq Commands: ```sh -exit 1 +if [ -e "/tmp/encoded.dat" ]; then exit 0; else exit 1; fi ``` ##### Get Prereq Commands: ```sh diff --git a/atomics/T1027/T1027.yaml b/atomics/T1027/T1027.yaml index 1599d6c556..df0dd38497 100644 --- a/atomics/T1027/T1027.yaml +++ b/atomics/T1027/T1027.yaml @@ -21,7 +21,7 @@ atomic_tests: - description: | encode the command into base64 file prereq_command: | - exit 1 + if [ -e "/tmp/encoded.dat" ]; then exit 0; else exit 1; fi get_prereq_command: | echo "#{shell_command}" | base64 > /tmp/encoded.dat executor: