So I have a jar file that will replace certain strings in the jar with the parameters given. E.g. java -jar Injector.jar -user John -input Resource.jar

The string say %user% within the jar file would be replaced with John.

I would want to make it so at the last step before the user recieves their jar file is mitigated, meaning that the jar would be executed and the user would instead receive the output of the Injector instead. If that makes sense.

Member

So I have a jar file that will replace certain strings in the jar with the parameters given. E.g. java -jar Injector.jar -user John -input Resource.jar

The string say %user% within the jar file would be replaced with John.

I would want to make it so at the last step before the user recieves their jar file is mitigated, meaning that the jar would be executed and the user would instead receive the output of the Injector instead. If that makes sense.