obfuscation

Find a obfuscation tool for android package built from Unity 4.* [closed]

和自甴很熟 提交于 2019-12-06 02:02:32
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I have done a game used Unity engine, written in C#, now I want to publish a Android version to Google play . But currently, I know many games might be hacked if we don't obfuscate the code. I checked this many times, but not successful yet. Does anyone know any another tool support this? Thank you You can take a look at Eazfuscator.NET. We delivered automatic obfuscation technology for Unity applications that

ProGuard obfuscation, java, Google Gson and generic collections - how to keep members?

爱⌒轻易说出口 提交于 2019-12-06 01:59:26
I have a class like this: public class MyClass { private Queue<MyOtherClass> myQueue; } My problem is that I cannot get ProGuard to keep myQueue after serialization to json using Google Gson. What happens is that the member name "myQueue" is serialized as "a". Obviously, deserialization then breaks. Here are some of the ProGuard configs I have tried. -keepclassmembers class com.my.package.MyClass { #private java.util.Queue<com.my.package.MyOtherClass> myQueue; #private java.util.Queue<com.my.package.*> myQueue; private java.* myQueue; } With private java.util.Queue<com.my.package.MyOtherClass>

Is it a bad practice to expose DB internal IDs in URLs?

怎甘沉沦 提交于 2019-12-06 01:51:55
问题 Is it a bad practice to expose DB internal IDs in URLs? For example, suppose I have a users table with some IDs (primary key) for each row. Would exposing the URL myapp.com/accountInfo.html?userId=5 , where 5 is an actual primary key, be considered a "bad thing" and why? Also assume that we properly defend against SQL injections. I am mostly interested in answers related to the Java web technology stack (hence the java tag), but general answers will also be very helpful. Thanks. 回答1: That

How to obfuscate JavaScript using PHP? [closed]

怎甘沉沦 提交于 2019-12-06 00:57:50
For example, how could I obfuscate this sample code from: /* The code below will write to a heading and to a paragraph, and will represent the start of my homepage: */ document.getElementById("myH1").innerHTML="Welcome to my Homepage"; document.getElementById("myP").innerHTML="This is my first paragraph."; into the form: var _0xcc34=["\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x6D\x79\x48\x31","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x57\x65\x6C\x63\x6F\x6D\x65\x20\x74\x6F\x20\x6D\x79\x20\x48\x6F\x6D\x65\x70\x61\x67\x65","\x6D\x79\x50","\x54\x68\x69\x73\x20\x69\x73\x20\x6D\x79

Obfuscating Jar files with other Jar files embedded

南笙酒味 提交于 2019-12-06 00:53:39
So figure we have a Jar file with our Java application, and it has inside of it the Jar files for the libraries it depends of, a the jdbc or any other third party jar. How do you proceed to obfuscate it with free software? I mean, obfuscate your code and leave the Jars untouched. I tried with Proguard , to no avail. Even the author told me at the sourceforge forums it wasn't possible. But you can do it manually with an ugly hack involving the renaming of the jar to zip and mangling with the inner data, so, why wouldn't a software be able to do it? You can create a single jar from multiple jars

How do I make the manifest of a .net assembly private?

我们两清 提交于 2019-12-06 00:39:22
What should I do if I want to release a .net assembly but wish to keep its internals detailed in the manifest private (from a utility such as ildasm.exe ) ? I think what you're talking about is "obfuscation". There are lots of articles about it on the net: http://en.wikipedia.org/wiki/Obfuscation The "standard" tool for obfuscation on .NET is by Preemptive Solutions: http://www.preemptive.com/obfuscator.html They have a community edition that ships with Visual Studio which you can use. You mentioned ILDasm, have you looked at the .NET Reflector? http://aisto.com/roeder/dotnet/ It gives you an

Android: Do the random SALT bytes passed to AESObfuscator need to stay the same?

自作多情 提交于 2019-12-05 23:31:34
问题 I'm implementing licensing in my Android application, and there is an array of 20 bytes that need to be passed into the AESObfuscator that is passed to the ServerManagedPolicy object. Can this array be generated randomly every time the code is ran, or does it have to be hardcoded? Right now I'm randomly generating the salt like this: private static final byte[] SALT; static { Random random = new Random(); random.setSeed(System.currentTimeMillis()); byte[] buf = new byte[20]; random.nextBytes

Export signed Android apk with Proguard

不羁的心 提交于 2019-12-05 21:50:13
What I am trying to do: obfuscate and export a signed app from Eclipse. The problem: I am getting the same console error, no matter what I write on Project.properties and on proguard-android.txt . it makes me have no clue of what´s going on and I´m starting to feel miserable. What I could do: I could export the project without using Proguard. I could export a similar project that didn't use ABS (Action Bar Sherlock) using Proguard My questions: Is it possible that eclipse is not using at all proguard-android.txt ? When you include ABS library you should delete android-support-v4.jar from your

What are features of using Proguard in project with Protocol Buffers?

梦想与她 提交于 2019-12-05 21:15:54
I have a project in where Google Protocol Buffers are used. Once I try to obfuscate it with ProGuard it seems that protobuf causes problem. All my own classes I package into mybuildedclasses.jar . Google code is packaged into protbuf.jar mybuildedclasses.jar protobuf.jar other external jars After that I am trying to obfuscate mybuildedclasses.jar . Config file is similar to this one . Eventually all jars are packaged inside another fat jar. I run the program and once message is tried to be sent this kind of Exceptions are printed. Caused by: java.lang.RuntimeException: Generated message class

Javascript - how to bandwagon functions and change their purpose after each call?

不羁岁月 提交于 2019-12-05 20:22:16
I'm working on a simple javascript code obfuscator. Say you have a 2D square matrix of NxN javascript functions. For n=3: var m = [ [function(){return 1}, function(){return 2}, function(){return 3}], [function(){return 4}, function(){return 5}, function(){return 6}], [function(){return 7}, function(){return 8}, function(){return 9}] ] Now, in the example, each one of those functions would actually contain chunks of code from the code to be obfuscated, and call that in. A typical obfuscated code would look like this: (function(){ m[1][2](m[2][0](m[0][1]))(m[1][0])(m[2][2])(m[1][1](m[1][2](m[2]