obfuscation

Strings protection in Android application

∥☆過路亽.° 提交于 2019-12-05 03:59:07
问题 I want to protect some Strings in my Android application, it contain information that should not be viewed. The best idea I've had so far is to encrypt these strings using an AES algorithm or something and put the password in a Google Cloud Storage file that can only be viewed with authentication (by Firebase Auth), so in theory the application always accesses that file when need. This is a good idea? 回答1: You can refer about NDK : Example: #include <string.h> #include <jni.h> jstring Java

How to protect Mac OS X software from cracking?

女生的网名这么多〃 提交于 2019-12-05 02:36:52
问题 We're releasing a Mac version of our Windows application. Under Windows, there are several tools for executable protection, for example Armadillo, ExeCryptor, AsProtect etc, however, none of these has a Mac version. So, my question is: Are there any executable protection / encryption tools for Mac OS X? 回答1: It is my personal view and most other OS X developer's view that you should make it reasonably hard to steal your software but there is a point that it's simply not worth the effort. The

Protect Web API from unauthorized applications

淺唱寂寞╮ 提交于 2019-12-05 00:58:04
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, and some of these make use of anonymous web services. The only way I am using to prevent outsiders from

What is the DynamicProxyGenAssembly2 assembly?

女生的网名这么多〃 提交于 2019-12-04 23:58:36
I use Moq for my unit tests. To test internal interfaces I have to declare the InternalsVisibleTo attribute to the DynamicProxyGenAssembly2 assembly. We run our tests obfuscated, which is useful because we could found some problems with obfuscation with this approach. Caused by the DynamicProxyGenAssembly2 assembly my component is not obfuscated. Therefore I need to know what is the DynamicProxyGenAssembly2 assembly? I could not found it anywhere on my disk. Is it compiled into the moq.dll or is it generated at runtime? Maybe if I know what this assembly I we coul find a way to workaround my

Obfuscate Assembly and Reflection

醉酒当歌 提交于 2019-12-04 22:02:13
问题 I want to obfuscate my assembly files (*.dll, *.exe) by Dotfuscator . my question is if I do this, can I still use classes and types that are in those assemblies by their original names (I mean names before obfuscation) and using System.Reflection methods to work with them? If you need more detail,please tell me 回答1: Obfuscation are Reflection can cause you some problem. Even if you take the suggestion to use option to not obfuscate public method, some of the reflected code may call private

Encrypt information on Android devices (protect reasonably from access by user)

不羁岁月 提交于 2019-12-04 20:57:41
We are in the making of an Android app, a quiz game, which we would like to cache questions + answers for when the user is offline. The problem with this is that we would need to withhold this data from the user until she has answered the questions. Otherwise, cheating would be very easy, which would harm the game. One could then extract all questions + answers and automatically submit answers to the server API. The most convenient way would be to retrieve a key or secret from our server at installation time, hide it "somewhere", and use it for communication with the server, and also for the

Java Code Obfuscate

喜欢而已 提交于 2019-12-04 20:52:00
What is a good free java code Obfuscate program? I have heard of ProGuard but all I get is class not found when I run my applet so uhm... yeah -- anyone? ProGuard is a good one. ProGuard is a free Java class file shrinker, optimizer, obfuscator, and preverifier. It detects and removes unused classes, fields, methods, and attributes. It optimizes bytecode and removes unused instructions. It renames the remaining classes, fields, and methods using short meaningless names. Finally, it preverifies the processed code for Java 6 or for Java Micro Edition. yGuard is one I have used. It is open source

How to obfuscate code without compiling the project?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-04 20:09:41
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 compiling it or at least without having to export it to apk. In your android-sdk directory, check the

How to obfuscate Flutter apps?

有些话、适合烂在心里 提交于 2019-12-04 19:35:00
问题 Flutter's wiki mentions obfuscation is an opt-in in release mode. And yet, the flutter build command has no relevant option - see: flutter help -v build apk Am I missing something here? Did they make obfuscation the default? Is obfuscation even relevant for flutter? Any pointers on this would be very appreciated. 回答1: Obfuscation is needed - a flutter app knows its function names, which can be shown using Dart's StackTrace class. There's under-tested support for obfuscation. To enable it: For

Android: How to generate signed APK with minifyEnabled

百般思念 提交于 2019-12-04 18:39:00
I have an android app, I just finished working on it and am ready to publish it on PlayStore. However, to avoid someone else from directly decompiling it, I wanted to add the proguard layer of security. I tried to generate signed apk after setting minifyEnabled to 'true'. However, android studio started showing several errors, at one point the count went beyond 800 errors. I tried searching for a solution online and got to know the main cause of this problem might be all the third party libraries I had added to my application. One of the most popular solution to overcome this type of problem