github.com/facebookincubator/ttpforge@v1.0.13-0.20240405153150-5ae801628835/docs/foundations/actions.md (about)

     1  # TTPForge Attacker Action Types
     2  
     3  TTPForge supports the following types of actions:
     4  
     5  - [inline:](actions/inline.md) Run Shell Commands
     6  - [create_file:](actions/create_file.md) Create Files on Disk
     7  - [copy_path:](actions/copy_path.md) Copy File or Directory on Disk
     8  - [edit_file:](actions/edit_file.md) Append/Delete/Replace Lines in Files
     9  - [remove_path:](actions/remove_path.md) Delete Files/Directories
    10  - [print_str:](actions/print_str.md) Print Strings to the Screen
    11  - [file:](actions/file.md) Execute an External Program (No Shell)
    12  - [ttp:](chaining.md) Chain Multiple TTPForge TTPs together
    13  
    14  There is no limit on how many `steps:` a TTP can have and no restrictions on the
    15  mix of action types that you can use in a given TTP. However, each step must map
    16  to one and only one action type - for example, if you specify both `inline:` and
    17  `create_file:`, you'll get an error pointing out that your step has an ambiguous
    18  action type.