SerenityEnterprises / paramorphism-issues

Issue board for Paramorphism JVM obfuscator
https://paramorphism.serenity.enterprises
6 stars 0 forks source link

PHP Zip utilities break obfuscated jars #9

Open Levelheader opened 5 years ago

Levelheader commented 5 years ago

Testing the editing of jars, obfuscated with Paramorphism, I found that the PHP ZipArchive functions were all causing the, "spoof files", the null files Paramorphism creates to dissappear, making the jar unrunnable. If you know an alternative way to add/edit files inside Paramorphism generated obfuscations with PHP, or a setting I can disable that won't compromise the security of my jar, tell me.

char commented 5 years ago

Wow.

At present, if you want to disable the null-bytes, you can disable the 'Anti-Decompression' strategy, like so:

anti_decompression:
  enabled: false

I'll look into PHP's ZipArchive, but at the moment I just use the standard Unix zip command to edit my archives when they are in transit.