Generated docs from job=generate-docs branch=master [ci skip]
This commit is contained in:
@@ -44251,6 +44251,9 @@ privilege-escalation:
|
||||
default: C:\Windows\System32\calc.exe
|
||||
executor:
|
||||
command: |
|
||||
if (!(Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer")){
|
||||
New-Item -ItemType Key -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
|
||||
}
|
||||
if (!(Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run")){
|
||||
New-Item -ItemType Key -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run"
|
||||
}
|
||||
@@ -70370,6 +70373,9 @@ persistence:
|
||||
default: C:\Windows\System32\calc.exe
|
||||
executor:
|
||||
command: |
|
||||
if (!(Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer")){
|
||||
New-Item -ItemType Key -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
|
||||
}
|
||||
if (!(Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run")){
|
||||
New-Item -ItemType Key -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run"
|
||||
}
|
||||
|
||||
@@ -37032,6 +37032,9 @@ privilege-escalation:
|
||||
default: C:\Windows\System32\calc.exe
|
||||
executor:
|
||||
command: |
|
||||
if (!(Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer")){
|
||||
New-Item -ItemType Key -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
|
||||
}
|
||||
if (!(Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run")){
|
||||
New-Item -ItemType Key -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run"
|
||||
}
|
||||
@@ -58828,6 +58831,9 @@ persistence:
|
||||
default: C:\Windows\System32\calc.exe
|
||||
executor:
|
||||
command: |
|
||||
if (!(Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer")){
|
||||
New-Item -ItemType Key -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
|
||||
}
|
||||
if (!(Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run")){
|
||||
New-Item -ItemType Key -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run"
|
||||
}
|
||||
|
||||
@@ -539,6 +539,9 @@ This test will create a new value under HKEY_CURRENT_USER\Software\Microsoft\Win
|
||||
|
||||
|
||||
```powershell
|
||||
if (!(Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer")){
|
||||
New-Item -ItemType Key -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
|
||||
}
|
||||
if (!(Test-Path -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run")){
|
||||
New-Item -ItemType Key -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user