I can only seem to get the folder of the jar and not the contents inside.
Basically someone cracked my program and they put a File inside the JAR which the program loaded from, I want to add some sneaky checks inside an API that I use to check to see if there is an extra File inside and disable the product if so.
So - how can I check for any .json or .file files inside a JAR file? I looked at this, Viewing contents of a .jar file, but didn't get the answer I wanted.
Thanks.