diff --git a/atomics/T1070.003/T1070.003.yaml b/atomics/T1070.003/T1070.003.yaml index 7b9db85d..d3328571 100644 --- a/atomics/T1070.003/T1070.003.yaml +++ b/atomics/T1070.003/T1070.003.yaml @@ -81,6 +81,10 @@ atomic_tests: echo 'set +o history' >> ~/.bashrc . ~/.bashrc history -c + cleanup_command: | + sed -i 's/set +o history//g' ~/.bashrc + . ~/.bashrc + set -o history name: sh - name: Use Space Before Command to Avoid Logging to History auto_generated_guid: 53b03a54-4529-4992-852d-a00b4b7215a6