From 8b8a25368c7d57cb7f666a73fdf17e8b0b6bc44f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alonso=20C=C3=A1rdenas?= Date: Tue, 9 May 2023 12:55:50 -0500 Subject: [PATCH] - Fix conflicts --- atomics/T1552.001/T1552.001.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/atomics/T1552.001/T1552.001.yaml b/atomics/T1552.001/T1552.001.yaml index a47fed87..36e7c3d8 100644 --- a/atomics/T1552.001/T1552.001.yaml +++ b/atomics/T1552.001/T1552.001.yaml @@ -45,6 +45,7 @@ atomic_tests: executor: command: | grep -ri password #{file_path} + exit 0 name: sh - name: Extracting passwords with findstr auto_generated_guid: 0e56bf29-ff49-4ea5-9af4-3b81283fd513 @@ -80,12 +81,16 @@ atomic_tests: - freebsd - macos - linux - + input_arguments: + file_path: + description: Path to search + type: String + default: /home executor: name: sh elevation_required: false command: | - for file in $(find / -name .netrc 2> /dev/null);do echo $file ; cat $file ; done + for file in $(find #{file_path} -type f -name .netrc 2> /dev/null);do echo $file ; cat $file ; done - name: WinPwn - sensitivefiles auto_generated_guid: 114dd4e3-8d1c-4ea7-bb8d-8d8f6aca21f0 description: Search for sensitive files on this local system using the SensitiveFiles function of WinPwn