Update T1564.004 test 3 Create ADS command prompt (#1198)
* Update T1564.004 test 3 * ignore errors when running cleanup multiple times Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
@@ -73,17 +73,9 @@ atomic_tests:
|
||||
type: string
|
||||
default: '%temp%\T1564.004_has_ads_cmd.txt'
|
||||
ads_filename:
|
||||
description: Name of ADS file.
|
||||
description: Name of ADS.
|
||||
type: string
|
||||
default: adstest.txt
|
||||
dependency_executor_name: command_prompt
|
||||
dependencies:
|
||||
- description: |
|
||||
The file must exist on disk at specified location (#{file_name})
|
||||
prereq_command: |
|
||||
IF EXIST #{file_name} ( EXIT 0 ) ELSE ( EXIT 1 )
|
||||
get_prereq_command: |
|
||||
echo normal_text >> #{file_name} >nul 2>&1
|
||||
executor:
|
||||
command: |
|
||||
echo cmd /c echo "Shell code execution."> #{file_name}:#{ads_filename}
|
||||
|
||||
Reference in New Issue
Block a user