Added tests for hidden and system file hiding using attrib.exe

This commit is contained in:
Tony M Lambert
2018-10-19 16:11:36 -04:00
parent a91994c5bb
commit 9a00a05ba0
+34
View File
@@ -49,6 +49,40 @@ atomic_tests:
command: |
mv #{filename} .#{output_filename}
- name: Create Windows System File with Attrib
description: |
Creates a file and marks it as a system file using the attrib.exe utility.
supported_platforms:
- windows
input_arguments:
filename:
description: path of file to hide
type: path
default: "C:\Windows\Temp\sensitive_file.txt"
executor:
name: command_prompt
command: |
attrib.exe +s #{filename}
- name: Create Windows Hidden File with Attrib
description: |
Creates a file and marks it as hidden using the attrib.exe utility.
supported_platforms:
- windows
input_arguments:
filename:
description: path of file to hide
type: path
default: "C:\Windows\Temp\sensitive_file.txt"
executor:
name: command_prompt
command: |
attrib.exe +h #{filename}
- name: Hidden files
description: |
Requieres Apple Dev Tools