mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-19 02:46:10 +00:00
Update Windows - Privilege Escalation.md
added Get-Process to list processes
This commit is contained in:
parent
5163ef902c
commit
1fc8b57c85
@ -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