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

Enabling ProGuard in Eclipse for Android

Android SDK (r20 or higher) Please check the predefined proguard.config refered in project.properties proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt More info: http://proguard.sourceforge.net/manual/examples.html#androidapplication On Gradle: buildTypes { release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.pro’ … } } Here you can check a proguard “default” file that I keep updating: https://medium.com/code-procedure-and-rants/android-my-standard-proguard-ffeceaf65521 Android SDK (r19 or lower) You can add it … Read more

Best Java obfuscator? [closed]

First, you really need to keep in mind that it’s never impossible to reverse-engineer something. Everything is hackable. A smart developer using a smart IDE can already get far enough. Well, you can find here a list. ProGuard is pretty good. I’ve used it myself, but only to “minify” Java code.

Convert a PHP script into a stand-alone windows executable

Peachpie http://www.peachpie.io https://github.com/iolevel/peachpie Peachpie is PHP 7 compiler based on Roslyn by Microsoft and drawing from popular Phalanger. It allows PHP to be executed within the .NET/.NETCore by compiling the PHP code to pure MSIL. Phalanger http://v4.php-compiler.net/ http://wiki.php-compiler.net/Phalanger_Wiki https://github.com/devsense/phalanger Phalanger is a project which was started at Charles University in Prague and was supported by … Read more

.NET obfuscation tools/strategy [closed]

We’ve tried a number of obfuscators. None of them work on a large client/server app that uses remoting. Problem is that client and server share some dlls, and we haven’t found any obfuscator that can handle it. We’ve tried DotFuscator Pro, SmartAssembly, XenoCode, Salamander, and several small time apps whose names escape me. Frankly, I’m … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)