Prevent class member name obfuscation by ProGuard

If you dont want your class members to be obfuscated then use SerializedName annotation provided by Gson. For example: public class ClassMultiPoints { @SerializedName(“message”) public String message; @SerializedName(“data”) public List<ClassPoints> data; … } Moreover, make sure you do add proper proguard configuration for Gson library too. For example: ##—————Begin: proguard configuration for Gson ———- # … Read more

Javascript library: to obfuscate or not to obfuscate – that is the question [closed]

If they can decode it, they deserve to have the code (they’ll most likely find out they could have written better code themselves – they just didn’t have the business sense to put all the [plain vanilla] components in that particular order). So really, you’re trying to solve a business issue with technical measures. Anybody … Read more

Can you Distribute a Ruby on Rails Application without Source?

Your best option right now is to use JRuby. A little bit of background: My company (BitRock) works with many proprietary and commercial open source vendors. We help them package their server software, which is typically based on PHP, Java or Ruby together with a web server or application server (Apache, Tomcat), the language runtime … Read more

Deobfuscating Javascript [closed]

This a really obfuscated version of: document.writeln(“<a href=\”mailto:[email protected]\” title=\”Contact\”>Contact</a>”); I assume it is obfuscated this much to avoid spammers. But of course spambots could just render the page with Webkit and traverse the DOM for email addresses … 😉 So.. how to deobfuscate? Go to http://jsbeautifier.org/ Paste the source and beautify it Edit the function … Read more