Generated docs from job=generate-docs branch=master [ci skip]

This commit is contained in:
Atomic Red Team doc generator
2022-10-19 01:25:12 +00:00
parent 0f6a242985
commit ff1a5cf07b
2 changed files with 22 additions and 0 deletions
+9
View File
@@ -43831,6 +43831,15 @@ execution:
description: Location of the payload
type: Path
default: "%tmp%\\T1106.exe"
dependency_executor_name: powershell
dependencies:
- description: "#{source_file} must exist on system.\n"
prereq_command: 'if (Test-Path #{source_file}) {exit 0} else {exit 1}
'
get_prereq_command: |
New-Item -Type Directory (split-path #{source_file}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1106/src/CreateProcess.cs" -OutFile "#{source_file}"
executor:
command: |
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /out:"#{output_file}" /target:exe #{source_file}
+13
View File
@@ -51,6 +51,19 @@ C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /out:"#{output_file}" /tar
#### Dependencies: Run with `powershell`!
##### Description: #{source_file} must exist on system.
##### Check Prereq Commands:
```powershell
if (Test-Path #{source_file}) {exit 0} else {exit 1}
```
##### Get Prereq Commands:
```powershell
New-Item -Type Directory (split-path #{source_file}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1106/src/CreateProcess.cs" -OutFile "#{source_file}"
```
<br/>