obfuscation

Should I keep android.support.v4.app.Fragment and its derived classes when building a release version of my app?

夙愿已清 提交于 2019-12-07 06:25:59
问题 I read this answer and undestood why I should keep names of my services, activities, and custom views. But should I keep my classes which derive from android.support.v4.app.Fragment? I also took a look at the defualt Proguard config file %SDK_DIR%\sdk\tools\proguard\proguard-android.txt , and there were no rules regarding fragments. 回答1: The main reason why you would need to keep a class , is because it is accessed via reflection. Fragments are normally not accessed via reflection, so you don

Silverlight Code Obfuscation

醉酒当歌 提交于 2019-12-07 06:10:58
问题 I'm looking for recommendations of any free tools available for Silverlight code obfuscation. The professional version of obfuscator supports Silverlight, but the community edition of Obfuscator does not. Obfuscar from Google Code requires manual specification of every item that shouldn't be obfuscated, so every control and property referenced in XAML must be manually listed. There's no option to not obfuscate names of any public types and members. Even if I manually specify every public

how to obfuscate the war file using proguard

纵然是瞬间 提交于 2019-12-07 04:44:35
问题 I want to obfuscate a war file using proguard,how can i do so ? Please explain me the steps 回答1: I'm puzzled by this question. As other Java obfuscators, Proguard obfuscates the compiled bytecode (.class files) by renaming every variable, method etc. it considers safe to rename. I suppose you know this and know how to use Proguard for class files since you specifically asked about it. If not, read the proguard manual. As for war files, you can extract the class files from war (or jar) by

If this code is not a joke, how on earth does it work?

亡梦爱人 提交于 2019-12-07 04:36:56
问题 class Tree def initialize*d;@d,=d;end def to_s;@l||@r?",>":@d;end def total;(@d.is_a?(Numeric)?@d:0)+(@l?@l.total: 0)+(@r?@r.total: 0);end def insert d alias g instance_variable_get p=lambda{|s,o|d.to_s.send(o,@d.to_s)&& (g(s).nil??instance_variable_set(s,Tree.new(d)):g(s).insert(d))} @d?p[:@l,:]:@d=d end end Would anyone like to take a stab at explaining what this does? It appeared as an answer in a question I asked about code that is too clever. But it's too clever for me to tell whether it

Hiding the source code in .jar files

我们两清 提交于 2019-12-07 02:47:10
问题 One can easily extract the .jar file and see source code. I want to protect the source code from being seen. One possible answer is to password protect the file like we do it for zip files. But, if the password is known, then the source code can be easily seen. Are there any ways of hiding the source code and still have it be able to run? Something similar to what a .exe does in Windows. This should run in both windows as well as Linux environment. 回答1: What you want to search for is "java

Protect the source code on delivery to client

对着背影说爱祢 提交于 2019-12-07 01:17:00
问题 I've recently learnt that the company that will handle the installation of one of our core products have previously tried to reverse engineer suppliers' work in evil purposes. Due to this I want to learn more about how to protect our work and so far I have thought of the following: 1) Obviously to use an obfuscator. Question is which one. 2) Encrypt config files as much as possible (especially endpoint information). 3) Move as much of the logic as possible to the web service. 4) Use SSL for

Protect Web API from unauthorized applications

為{幸葍}努か 提交于 2019-12-06 19:18:56
问题 I am working on a web page that uses a lot of AJAX to communicate with the server. The server, in turn, has an extensive REST/JSON API exposing the different operations called by the web client. This web site is used by both anonymous and authenticated users. As you might expect, the web service calls issued by authenticated users require authentication, and are thus protected from unauthorized users or applications. However, the web site has a lot of features that require no authentication,

Is obfuscation the best answer [duplicate]

荒凉一梦 提交于 2019-12-06 16:44:44
This question already has answers here : Closed 10 years ago . Possible Duplicates: How effective is obfuscation? Protect ASP.NET Source code (Why) should I use obfuscation? Is obfuscation the best answer for protecting our code ? *Specially in Web Projects when you want to deliver your web projects as libraries of code to your customer ( the person who ordered ) * Edited At first my priority is Server-Side Code and second Client-Side but the main goal is when you want to deliver a complete web project and you made every piece of your code as components and dlls now how effective can you

proguard warning: the configuration keeps the entry point…but not the descriptor class

老子叫甜甜 提交于 2019-12-06 16:36:53
问题 I've configured: -keep ,allowoptimization,allowobfuscation,allowshrinking public class org.jf.dexlib2.dexbacked.** { *; } but still getting the warning: Note: the configuration keeps the entry point 'com.trusteer.trf.dex_parser { int get_strings_count(org.jf.dexlib2.dexbacked.DexBackedDexFile); }', but not the descriptor class 'org.jf.dexlib2.dexbacked.DexBackedDexFile' I am using proguard version 4.7 (in Android SDK) What should I do? 回答1: You have told Proguard to keep a certain method void

How to obfuscate code without compiling the project?

浪尽此生 提交于 2019-12-06 16:13:20
问题 Is there a way to obfuscate the code directly in editor? At this moment, if I want to see the obfuscated code of my project, I have to compile the project, do reverse engineering and then view the code via tools like jd-gui . Possible to achieve all this via some add-on so that I can compile obfuscated code, i.e. make it work just like before obfuscation. NOTE To clarify, I do not need to obfuscate code on export as this feature is already present. I need to obfuscate the code on live without