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

This commit is contained in:
Atomic Red Team doc generator
2022-10-19 01:22:59 +00:00
parent e3cb7dbc2b
commit 3802eaffdf
2 changed files with 66 additions and 0 deletions
+27
View File
@@ -93930,6 +93930,15 @@ command-and-control:
description: Path to the Batch script
type: Path
default: PathToAtomicsFolder\T1105\src\T1105.bat
dependency_executor_name: powershell
dependencies:
- description: "#{Path_to_file} must exist on system.\n"
prereq_command: 'if (Test-Path #{Path_to_file}) {exit 0} else {exit 1}
'
get_prereq_command: |
New-Item -Type Directory (split-path #{Path_to_file}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1105/src/T1105.bat" -OutFile "#{Path_to_file}"
executor:
command: "#{Path_to_file} 1>NUL \n"
cleanup_command: |
@@ -94038,6 +94047,15 @@ command-and-control:
description: Path to replace.exe
type: Path
default: C:\Windows\System32\replace.exe
dependency_executor_name: powershell
dependencies:
- description: "#{replace_cab} must exist on system.\n"
prereq_command: 'if (Test-Path #{replace_cab}) {exit 0} else {exit 1}
'
get_prereq_command: |
New-Item -Type Directory (split-path #{replace_cab}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1105/src/redcanary.cab" -OutFile "#{replace_cab}"
executor:
command: |
del %TEMP%\redcanary.cab >nul 2>&1
@@ -94099,6 +94117,15 @@ command-and-control:
description: Full path to the VisualBasic downloading the file
type: String
default: PathToAtomicsFolder\T1105\src\T1105-download-file.vbs
dependency_executor_name: powershell
dependencies:
- description: "#{vbscript_file} must be exist on system.\n"
prereq_command: 'if (Test-Path #{vbscript_file}) {exit 0} else {exit 1}
'
get_prereq_command: |
New-Item -Type Directory (split-path #{vbscript_file}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1105/src/T1105-download-file.vbs" -OutFile "#{vbscript_file}"
executor:
command: 'wscript.exe #{vbscript_file}'
cleanup_command: del Atomic-License.txt >nul 2>&1
+39
View File
@@ -901,6 +901,19 @@ rmdir /s/q %temp%\T1105 >nul 2>&1
#### Dependencies: Run with `powershell`!
##### Description: #{Path_to_file} must exist on system.
##### Check Prereq Commands:
```powershell
if (Test-Path #{Path_to_file}) {exit 0} else {exit 1}
```
##### Get Prereq Commands:
```powershell
New-Item -Type Directory (split-path #{Path_to_file}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1105/src/T1105.bat" -OutFile "#{Path_to_file}"
```
<br/>
@@ -1057,6 +1070,19 @@ del %TEMP%\redcanary.cab >nul 2>&1
#### Dependencies: Run with `powershell`!
##### Description: #{replace_cab} must exist on system.
##### Check Prereq Commands:
```powershell
if (Test-Path #{replace_cab}) {exit 0} else {exit 1}
```
##### Get Prereq Commands:
```powershell
New-Item -Type Directory (split-path #{replace_cab}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1105/src/redcanary.cab" -OutFile "#{replace_cab}"
```
<br/>
@@ -1172,6 +1198,19 @@ del Atomic-License.txt >nul 2>&1
#### Dependencies: Run with `powershell`!
##### Description: #{vbscript_file} must be exist on system.
##### Check Prereq Commands:
```powershell
if (Test-Path #{vbscript_file}) {exit 0} else {exit 1}
```
##### Get Prereq Commands:
```powershell
New-Item -Type Directory (split-path #{vbscript_file}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1105/src/T1105-download-file.vbs" -OutFile "#{vbscript_file}"
```
<br/>