From ad5cdce233ec44d2326dafafbaf6071550bf72aa Mon Sep 17 00:00:00 2001 From: ruyek-git <107167346+ruyek-git@users.noreply.github.com> Date: Tue, 21 Jun 2022 17:57:24 -0500 Subject: [PATCH] Update T1059.006.yaml --- atomics/T1059.006/T1059.006.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/atomics/T1059.006/T1059.006.yaml b/atomics/T1059.006/T1059.006.yaml index 9dbe81f7..254e6ee4 100644 --- a/atomics/T1059.006/T1059.006.yaml +++ b/atomics/T1059.006/T1059.006.yaml @@ -158,21 +158,13 @@ atomic_tests: Verify if python is in the environment variable path and attempt to import requests library. prereq_command: | which_python=$(which python || which python3 || which python2); $which_python -V - $which_python -c 'import requests' 2>/dev/null; echo $? - + $which_python -c 'import requests' 2>/dev/null; echo $? get_prereq_command: | pip install requests - executor: - command: |- - python -c "import pty;pty.spawn('/bin/sh')" exit - python -c "import pty;pty.spawn('/bin/bash')" exit - name: bash - -