From 7748526bd441df9bdc69dd40e2d441ea1c1a1228 Mon Sep 17 00:00:00 2001 From: Brendan Malone <46428809+RoundBunny@users.noreply.github.com> Date: Thu, 2 Jun 2022 14:56:00 -0500 Subject: [PATCH] C file for opening calc --- atomics/T1574.006/MacOS/T1574.006.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 atomics/T1574.006/MacOS/T1574.006.c diff --git a/atomics/T1574.006/MacOS/T1574.006.c b/atomics/T1574.006/MacOS/T1574.006.c new file mode 100644 index 00000000..7c2fedb2 --- /dev/null +++ b/atomics/T1574.006/MacOS/T1574.006.c @@ -0,0 +1,8 @@ +#include +#include +int system(const char *command); +__attribute__((constructor)) +static void customConstructor(int argc, const char **argv) +{ +system("open -a Calculator.app"); +}