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

This commit is contained in:
Atomic Red Team doc generator
2022-10-04 22:35:06 +00:00
parent 2c17fe046c
commit 90212b5fa4
2 changed files with 25 additions and 0 deletions
+12
View File
@@ -83854,6 +83854,18 @@ discovery:
description: Path to sample script
type: String
default: PathToAtomicsFolder\T1082\src\griffon_recon.vbs
dependency_executor_name: powershell
dependencies:
- description: 'Sample script file must exist on disk at specified location
(#{vbscript})
'
prereq_command: 'if (Test-Path #{vbscript}) {exit 0} else {exit 1}
'
get_prereq_command: |
New-Item -Type Directory (split-path #{vbscript}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1082/src/griffon_recon.vbs" -OutFile "#{vbscript}"
executor:
command: 'cscript #{vbscript}'
name: powershell
+13
View File
@@ -340,6 +340,19 @@ cscript #{vbscript}
#### Dependencies: Run with `powershell`!
##### Description: Sample script file must exist on disk at specified location (#{vbscript})
##### Check Prereq Commands:
```powershell
if (Test-Path #{vbscript}) {exit 0} else {exit 1}
```
##### Get Prereq Commands:
```powershell
New-Item -Type Directory (split-path #{vbscript}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1082/src/griffon_recon.vbs" -OutFile "#{vbscript}"
```
<br/>