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

This commit is contained in:
Atomic Red Team doc generator
2022-09-21 01:25:55 +00:00
parent fcacf6f78b
commit 37366ea226
2 changed files with 43 additions and 0 deletions
+20
View File
@@ -20086,6 +20086,26 @@ defense-evasion:
files
type: Path
default: PathToAtomicsFolder\T1036.003\src\T1036.003_masquerading.ps1
dependency_executor_name: powershell
dependencies:
- description: 'File to copy must exist on disk at specified location (#{vbs_path})
'
prereq_command: 'if (Test-Path #{vbs_path}) {exit 0} else {exit 1}
'
get_prereq_command: |
New-Item -Type Directory (split-path #{vbs_path}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1036.003/src/T1036.003_masquerading.vbs" -OutFile "#{vbs_path}"
- description: 'File to copy must exist on disk at specified location (#{ps1_path})
'
prereq_command: 'if (Test-Path #{ps1_path}) {exit 0} else {exit 1}
'
get_prereq_command: |
New-Item -Type Directory (split-path #{ps1_path}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1036.003/src/T1036.003_masquerading.ps1" -OutFile "#{ps1_path}"
executor:
command: |
copy #{exe_path} %temp%\T1036.003_masquerading.docx.exe /Y
+23
View File
@@ -393,6 +393,29 @@ del /f %temp%\T1036.003_masquerading.rtf.ps1 > nul 2>&1
#### Dependencies: Run with `powershell`!
##### Description: File to copy must exist on disk at specified location (#{vbs_path})
##### Check Prereq Commands:
```powershell
if (Test-Path #{vbs_path}) {exit 0} else {exit 1}
```
##### Get Prereq Commands:
```powershell
New-Item -Type Directory (split-path #{vbs_path}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1036.003/src/T1036.003_masquerading.vbs" -OutFile "#{vbs_path}"
```
##### Description: File to copy must exist on disk at specified location (#{ps1_path})
##### Check Prereq Commands:
```powershell
if (Test-Path #{ps1_path}) {exit 0} else {exit 1}
```
##### Get Prereq Commands:
```powershell
New-Item -Type Directory (split-path #{ps1_path}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1036.003/src/T1036.003_masquerading.ps1" -OutFile "#{ps1_path}"
```
<br/>