mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-21 11:56:11 +00:00
Merge pull request #197 from guanicoe/patch-2
Update Windows - Privilege Escalation.md
This commit is contained in:
commit
5c7e67b05d
@ -418,6 +418,7 @@ tasklist /v
|
|||||||
net start
|
net start
|
||||||
sc query
|
sc query
|
||||||
Get-Service
|
Get-Service
|
||||||
|
Get-Process
|
||||||
Get-WmiObject -Query "Select * from Win32_Process" | where {$_.Name -notlike "svchost*"} | Select Name, Handle, @{Label="Owner";Expression={$_.GetOwner().User}} | ft -AutoSize
|
Get-WmiObject -Query "Select * from Win32_Process" | where {$_.Name -notlike "svchost*"} | Select Name, Handle, @{Label="Owner";Expression={$_.GetOwner().User}} | ft -AutoSize
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user