Generated docs from job=generate-docs branch=master [ci skip]
This commit is contained in:
@@ -47647,10 +47647,10 @@ execution:
|
||||
New-Item -ItemType Directory (Split-Path "#{jscript}") -Force | Out-Null
|
||||
Invoke-WebRequest "https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.007/src/sys_info.js" -OutFile "#{jscript}"
|
||||
executor:
|
||||
command: 'cscript "#{jscript}" > $env:TEMP\T1059.007.out.txt
|
||||
command: 'cscript "#{jscript}" > %tmp%\T1059.007.out.txt
|
||||
|
||||
'
|
||||
cleanup_command: del $env:TEMP\T1059.007.out.txt >nul 2>&1
|
||||
cleanup_command: del %tmp%\T1059.007.out.txt >nul 2>&1
|
||||
name: command_prompt
|
||||
- name: JScript execution to gather local computer information via wscript
|
||||
auto_generated_guid: '0709945e-4fec-4c49-9faf-c3c292a74484'
|
||||
|
||||
@@ -41192,10 +41192,10 @@ execution:
|
||||
New-Item -ItemType Directory (Split-Path "#{jscript}") -Force | Out-Null
|
||||
Invoke-WebRequest "https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.007/src/sys_info.js" -OutFile "#{jscript}"
|
||||
executor:
|
||||
command: 'cscript "#{jscript}" > $env:TEMP\T1059.007.out.txt
|
||||
command: 'cscript "#{jscript}" > %tmp%\T1059.007.out.txt
|
||||
|
||||
'
|
||||
cleanup_command: del $env:TEMP\T1059.007.out.txt >nul 2>&1
|
||||
cleanup_command: del %tmp%\T1059.007.out.txt >nul 2>&1
|
||||
name: command_prompt
|
||||
- name: JScript execution to gather local computer information via wscript
|
||||
auto_generated_guid: '0709945e-4fec-4c49-9faf-c3c292a74484'
|
||||
|
||||
@@ -39,12 +39,12 @@ JScript execution test, execute JScript via cscript command. When successful, sy
|
||||
|
||||
|
||||
```cmd
|
||||
cscript "#{jscript}" > $env:TEMP\T1059.007.out.txt
|
||||
cscript "#{jscript}" > %tmp%\T1059.007.out.txt
|
||||
```
|
||||
|
||||
#### Cleanup Commands:
|
||||
```cmd
|
||||
del $env:TEMP\T1059.007.out.txt >nul 2>&1
|
||||
del %tmp%\T1059.007.out.txt >nul 2>&1
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user