diff --git a/atomics/T1069.001/src/test.sh b/atomics/T1069.001/src/test.sh new file mode 100644 index 00000000..4eda8fef --- /dev/null +++ b/atomics/T1069.001/src/test.sh @@ -0,0 +1,5 @@ +#!/bin/sh +if [ -x "$(command -v groups)" ]; then groups; else echo "groups is missing from the machine. skipping..."; fi; +if [ -x "$(command -v id)" ]; then id; else echo "id is missing from the machine. skipping..."; fi; +if [ -x "$(command -v getent)" ]; then getent group; else echo "getent is missing from the machine. skipping..."; fi; +cat /etc/group