Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unuseable CLI #54

Open
TIMER-err opened this issue Feb 4, 2024 · 0 comments
Open

Unuseable CLI #54

TIMER-err opened this issue Feb 4, 2024 · 0 comments

Comments

@TIMER-err
Copy link

TIMER-err commented Feb 4, 2024

My cmd line:

"%JAVA_HOME%/bin/java" -jar Skidfuscator.jar obfuscate cli -li=libs -ex=exemption.txt loader.jar

error:

Unmatched argument at index 4: 'loader.jar'
Usage:

obfuscate [-hV] [-dbg] [-fuckit] [-notrack] [-ph]
[-cfg=] [-ex=] [-li=]
[-o=] [-rt=]
Obfuscates and runs a specific jar
The file which will be obfuscated.
-cfg, --config=
Path to the config file
-dbg, --debug Do not use!
-ex, --exempt=
Path to the exempt file
-fuckit, --fuckit Do not use!
-h, --help Show this help message and exit.
-li, --libs=
Path to the libs folder
-notrack, --notrack If you do not wish to be part of analytics!
-o, --output= Path to the output jar location
-ph, --phantom Declare if phantom computation should be used
-rt, --runtime=
Path to the runtime jar
-V, --version Print version information and exit.

My cmd line:

"%JAVA_HOME%/bin/java" -jar Skidfuscator.jar obfuscate -li=libs -ex=exemption.txt loader.jar

error:

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1967)
at dev.skidfuscator.obfuscator.command.ObfuscateCommand.call(ObfuscateCommand.java:173)
at dev.skidfuscator.obfuscator.command.ObfuscateCommand.call(ObfuscateCommand.java:22)
at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
at picocli.CommandLine.access$1300(CommandLine.java:145)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2358)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2352)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2314)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2316)
at picocli.CommandLine.execute(CommandLine.java:2078)
at dev.skidfuscator.obfuscator.SkidfuscatorMain.main(SkidfuscatorMain.java:75)

My cmd line:

"%JAVA_HOME%/bin/java" -jar Skidfuscator.jar -li=libs -ex=exemption.txt loader.jar

error:

Unknown options: '-li=libs', '-ex=exemption.txt', 'loader.jar'
Usage:

[-hV] [COMMAND]
Shows all the options
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
Commands:
obfuscate Obfuscates and runs a specific jar

My cmd line:

"%JAVA_HOME%/bin/java" -jar Skidfuscator.jar obfuscate -li=libs loader.jar

It works, but this is not the result I hope for.

It has driven me mad, help me, plz!
😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant