-
Notifications
You must be signed in to change notification settings - Fork 201
Specify Custom Input Arguments
Adam Mashinchi edited this page Nov 8, 2021
·
7 revisions
Use the -PromptForInputArgs
switch to set your own values for the input arguments used by the atomic test.
Invoke-AtomicTest T1564.004 -TestNames "Create ADS command prompt" -PromptForInputArgs
You can specify all, or a subset of the input parameters via the command line or a script. Any input parameters not explicitly defined will maintain their default values from the test definition yaml.
$myArgs = @{ "file_name" = "c:\Temp\myfile.txt"; "ads_filename" = "C:\Temp\ads-file.txt" }
Invoke-AtomicTest T1158 -TestNames "Create ADS command prompt" -InputArgs $myArgs
Questions? Get connected to the community on the Atomic Red Team Slack channel.
- Installation
- Import the Module
- List Atomic Tests
- Check/Get Prerequisites for Atomic Tests
- Execute Atomic Tests (Local)
- Execute Atomic Tests (Remote)
- Specify Custom Input Arguments
- Cleanup after Executing Atomic Tests
- Execution Logging
- Adversary Emulation
- Continuous Atomic Testing
- Execution Hooks
- Helper Functions
- The Atomic GUI
- Uninstallation