From ef1a8aeb05e0490ac494bc28e77dd9717eb61ee3 Mon Sep 17 00:00:00 2001 From: hypnoticpattern <45320229+hypnoticpattern@users.noreply.github.com> Date: Thu, 16 Apr 2020 15:20:30 -0700 Subject: [PATCH] Fix command used to copy files in linux and macOS (#943) The command `copy` is used on Windows systems. Running the test on macOS and Linux will cause an error. --- atomics/T1166/T1166.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atomics/T1166/T1166.yaml b/atomics/T1166/T1166.yaml index c2e01651..7b735c6a 100644 --- a/atomics/T1166/T1166.yaml +++ b/atomics/T1166/T1166.yaml @@ -21,7 +21,7 @@ atomic_tests: name: sh elevation_required: true command: | - copy #{payload} /tmp/hello.c + cp #{payload} /tmp/hello.c cd /tmp sudo chown root hello.c sudo make hello