mirror of
https://github.com/AbdullahRizwan101/CTF-Writeups
synced 2025-02-16 12:08:24 +00:00
Update Cheat Sheet.md
This commit is contained in:
parent
72ed108b0c
commit
bea8cbbfe2
1 changed files with 14 additions and 0 deletions
|
@ -364,6 +364,20 @@ Alternatively this can be done with metaslpoit's post exploitation module
|
|||
* $file.GetNetworkCredential().username
|
||||
* $file.GetNetworkCredential().password
|
||||
|
||||
### Applocker
|
||||
|
||||
We can list the applocker policies by running this powershell command
|
||||
|
||||
```
|
||||
Get-AppLockerPolicy -effective -xml
|
||||
```
|
||||
|
||||
Or
|
||||
|
||||
```
|
||||
Get-ChildItem -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\SrpV2\Exe
|
||||
```
|
||||
|
||||
### Evil-winrm
|
||||
`evil-winrm -i IP -u <USER> -p <PASS>`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue