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"