From 12a297615de8117fe3f7f21ebbfbf6e612e9ac5c Mon Sep 17 00:00:00 2001 From: CircleCI Atomic Red Team doc generator Date: Wed, 22 Apr 2020 15:49:23 +0000 Subject: [PATCH] Generate docs from job=validate_atomics_generate_docs branch=master --- atomics/Indexes/index.yaml | 2 +- atomics/T1095/T1095.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/atomics/Indexes/index.yaml b/atomics/Indexes/index.yaml index af901502..88de0f93 100644 --- a/atomics/Indexes/index.yaml +++ b/atomics/Indexes/index.yaml @@ -29682,7 +29682,7 @@ command-and-control: description: The folder path of ncat.exe type: path default: "$env:TEMP\\T1095" - dependency_executor_name: powerShell + dependency_executor_name: powershell dependencies: - description: ncat.exe must be available at specified location (#{ncat_exe}) prereq_command: if( Test-Path "#{ncat_exe}") {exit 0} else {exit 1} diff --git a/atomics/T1095/T1095.md b/atomics/T1095/T1095.md index f5a66b40..f94c1f0d 100644 --- a/atomics/T1095/T1095.md +++ b/atomics/T1095/T1095.md @@ -75,14 +75,14 @@ cmd /c #{ncat_exe} #{server_ip} #{server_port} -#### Dependencies: Run with `powerShell`! +#### Dependencies: Run with `powershell`! ##### Description: ncat.exe must be available at specified location (#{ncat_exe}) ##### Check Prereq Commands: -```powerShell +```powershell if( Test-Path "#{ncat_exe}") {exit 0} else {exit 1} ``` ##### Get Prereq Commands: -```powerShell +```powershell New-Item -ItemType Directory -Force -Path #{ncat_path} | Out-Null $parentpath = Split-Path (Split-Path "#{ncat_exe}"); $zippath = "$parentpath\nmap.zip" Invoke-WebRequest "https://nmap.org/dist/nmap-7.80-win32.zip" -OutFile "$zippath"