From 264b8aba9260d84690d5b556e1508845fef0c166 Mon Sep 17 00:00:00 2001 From: CircleCI Atomic Red Team doc generator Date: Fri, 13 Mar 2020 18:24:41 +0000 Subject: [PATCH] Generate docs from job=validate_atomics_generate_docs branch=master --- atomics/T1121/T1121.md | 4 +++- atomics/index.yaml | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/atomics/T1121/T1121.md b/atomics/T1121/T1121.md index 26e37deb..a5cf21a3 100644 --- a/atomics/T1121/T1121.md +++ b/atomics/T1121/T1121.md @@ -81,7 +81,9 @@ C:\Windows\Microsoft.NET\Framework\v4.0.30319\regsvcs.exe #{output_file} #### Cleanup Commands: ``` Remove-Item #{output_file} -ErrorAction Ignore | Out-Null -Remove-Item $env:Temp\key.snk -ErrorAction Ignore | Out-Null +$parentpath = Split-Path -Path "#{output_file}" +Remove-Item $parentpath\key.snk -ErrorAction Ignore | Out-Null +Remove-Item $parentpath\T1121.tlb -ErrorAction Ignore | Out-Null ``` diff --git a/atomics/index.yaml b/atomics/index.yaml index 5289f095..20447b8a 100644 --- a/atomics/index.yaml +++ b/atomics/index.yaml @@ -11446,7 +11446,9 @@ defense-evasion: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regsvcs.exe #{output_file} cleanup_command: | Remove-Item #{output_file} -ErrorAction Ignore | Out-Null - Remove-Item $env:Temp\key.snk -ErrorAction Ignore | Out-Null + $parentpath = Split-Path -Path "#{output_file}" + Remove-Item $parentpath\key.snk -ErrorAction Ignore | Out-Null + Remove-Item $parentpath\T1121.tlb -ErrorAction Ignore | Out-Null T1117: technique: x_mitre_data_sources: @@ -23578,7 +23580,9 @@ execution: C:\Windows\Microsoft.NET\Framework\v4.0.30319\regsvcs.exe #{output_file} cleanup_command: | Remove-Item #{output_file} -ErrorAction Ignore | Out-Null - Remove-Item $env:Temp\key.snk -ErrorAction Ignore | Out-Null + $parentpath = Split-Path -Path "#{output_file}" + Remove-Item $parentpath\key.snk -ErrorAction Ignore | Out-Null + Remove-Item $parentpath\T1121.tlb -ErrorAction Ignore | Out-Null T1117: technique: x_mitre_data_sources: