Questions tagged [obfuscation]

Obfuscation is the process by which the code is altered so that a developer finds it much harder to understand clearly what the intended program does or how it operates. The larger the program the greater the obfuscation, as code becomes intertwined linking different segments through out the program.

While it may be possible to use a disassembler to figure out how certain aspects within a program function, it requires knowledge of assembly. Assembly language by its nature is non-trivial.

Another way to increase obfuscation is to use packers.

2987 questions
1
vote
2 answers

App crashes on reading shared preferences after obfuscation

In my application, I am using SharedPreferences to store some user preferences. The application was not obfuscated (-dontobfuscate in the proguard file). Now in the next version of the application, I want to enable obfuscation. When I try this, the…
user846316
  • 6,037
  • 6
  • 31
  • 40
1
vote
2 answers

Low-Hanging Fruit: Obfuscating values in JavaScript

I'm making an in-browser game of the type "guess what place/monument/etc. is in this satellite/aerial view", using Google Maps JS API v3. I can't just take a screenshot, as this seems to be specifically forbidden by Permission Guidelines for Google…
Piskvor left the building
  • 91,498
  • 46
  • 177
  • 222
1
vote
0 answers

Obfuscated application run slow

I'm using ConfuserEX for obfuscate my application. Actually I'm using the maximum preset and the compress functionality to add 4 dlls to my exe. When I start the app without obfuscation run very fast, but after the obfuscation the start is very…
user9493290
1
vote
3 answers

How to mark the current method in a log file?

I'm writing an exception logger class. My question is: what to use to mark the current method? Except it's name, cause the code will be obfuscated, so it can't be used.
blez
  • 4,939
  • 5
  • 50
  • 82
1
vote
2 answers

Code obfuscate exclude Getters and Setters

I am using proguard GUI to obfuscate my java code. My requirement is I don't want to obfuscate my Getter and setters. Is there any option in the proguard GUI to exclude the obfuscation for the Getter, setters alone. If so please provide me where…
Karthick88it
  • 601
  • 2
  • 12
  • 28
1
vote
0 answers

Use ConfuserEX To Automatically Obfuscate A Built Output

So here is what I am attempting to do: I have an application that is going to build a file by clicking a button I have the code for the file it is building in a resource. I need to be able to obfuscate that output in the process of it building the…
Tourettes
  • 11
  • 2
1
vote
2 answers

Proguard obfuscationdictionary not working

What I'm trying to achieve is to avoid my method paramaters having the names like String paramString or int paramInt. I am trying to use -obfuscationdictionary but it's not working (at least it's not doing what I presume it should, which is use my…
Russ Wheeler
  • 2,590
  • 5
  • 30
  • 57
1
vote
0 answers

Can we upload deobfuscation file on fabric?

While releasing my android application on play store I have also uploaded the mapping.txt file for the deobfuscation of crash or error stack trace. I want to know is it possible to do same in Fabric?. Can we upload a mapping.txt file for…
baldraider
  • 1,049
  • 2
  • 18
  • 48
1
vote
0 answers

How to protect a java code easily from reverse enginnering?

i have programmed a library in java i want to protect from reverse engineering. I read about obfuscation and understood that it is only making it a little more difficult to read instead of making it completely impossible to decompile. Iam not very…
Khan
  • 1,418
  • 1
  • 25
  • 49
1
vote
1 answer

Javascript hash/convert function name

I have part of code like this: var test = new startClear.Cleaner('key', {floor: 100}); My point is, how to convert startClear function to something like this: 5azjfxa123. (or other) This same with floor ex. ooas and then use: azjfxa.Cleaner('key',…
Jensej
  • 1,255
  • 6
  • 21
  • 33
1
vote
0 answers

Inline method as a build step

I have a method that checks the license in our application. I would like to inline this method during build (or after) to increase the complexity of hacking the license. Basically I want something to take the code in this method, walk through all…
Archeg
  • 8,364
  • 7
  • 43
  • 90
1
vote
2 answers

spring boot Caused by: java.lang.UnsupportedOperationException: Unsupported class version number [53.0] (maximum 52.0, Java 1.8)

I am currently working on a Spring Boot project which I intend to obfuscate with Proguard. Everything works just fine. But when I try to package the application, I receive this Proguard error (Can't process class…
1
vote
0 answers

Corona Obfuscation for lua scripts

When I tried to unpack the corona archive from one of application developed using Corona SDK, I found an obfuscated code for Lua scripts as of below: function L0_0.createBgOverlay(A0_8, A1_9, A2_10) local L3_11 L3_11 = display L3_11 =…
MobTech
  • 59
  • 6
1
vote
1 answer

ProGuard modifies (increases size) skipped classes

I'm obfuscating an executable jar using ProGuard version 5.3.3. My jar contains other libraries which I do not want to obfuscate or optimize. This is my ProGuard config: -libraryjars 'C:\Program Files\Java\jre1.8.0_131\lib\rt.jar' -injars…
PC.
  • 6,870
  • 5
  • 36
  • 71
1
vote
2 answers

Obfuscate JavaScript files in an APK for Android-Cordova project

I have a Cordova-based project hosted on the Play Store. How do I make sure the JavaScript files are not seen? I have tried the cordova-plugin-progaurd plugin but even after adding this plugin and building to release mode and zipping the file I…
1 2 3
99
100