skidfuscator-java-obfuscator icon indicating copy to clipboard operation
skidfuscator-java-obfuscator copied to clipboard

Unuseable CLI

Open TIMER-err opened this issue 4 months ago • 0 comments

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=<libFolder>] [-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=<libFolder> 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! 😭

TIMER-err avatar Feb 04 '24 04:02 TIMER-err