Generate docs from job=generate_and_commit_guids_and_docs branch=master [skip ci]

This commit is contained in:
CircleCI Atomic Red Team doc generator
2021-01-05 23:34:56 +00:00
parent 8c4eb62532
commit 91e05be201
2 changed files with 12 additions and 4 deletions
+9 -3
View File
@@ -33153,6 +33153,14 @@ defense-evasion:
description: Location of the project file
type: Path
default: PathToAtomicsFolder\T1127.001\src\T1127.001.csproj
msbuildpath:
description: Default location of MSBuild
type: Path
default: C:\Windows\Microsoft.NET\Framework\v4.0.30319
msbuildname:
description: Default name of MSBuild
type: Path
default: msbuild.exe
dependency_executor_name: powershell
dependencies:
- description: 'Project file must exist on disk at specified location (#{filename})
@@ -33165,9 +33173,7 @@ defense-evasion:
New-Item -Type Directory (split-path #{filename}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1127.001/src/T1127.001.csproj" -OutFile "#{filename}"
executor:
command: 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe #{filename}
'
command: "#{msbuildpath}\\#{msbuildname} #{filename}\n"
name: command_prompt
T1134.003:
technique:
+3 -1
View File
@@ -23,13 +23,15 @@ Executes the code in a project file using. C# Example
| Name | Description | Type | Default Value |
|------|-------------|------|---------------|
| filename | Location of the project file | Path | PathToAtomicsFolder\T1127.001\src\T1127.001.csproj|
| msbuildpath | Default location of MSBuild | Path | C:\Windows\Microsoft.NET\Framework\v4.0.30319|
| msbuildname | Default name of MSBuild | Path | msbuild.exe|
#### Attack Commands: Run with `command_prompt`!
```cmd
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe #{filename}
#{msbuildpath}\#{msbuildname} #{filename}
```