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
0 answers

Shouldn't obfuscating remove signing of my dll?

I'm new to signing assemblies and am trying to understand this process. So I have a very simple WPF application that references a very simple DLL. The DLL is signed: Preferences -> Signing -> Sign the assembly. Created a new *.snk file. And ok,…
Michal_Drwal
  • 526
  • 1
  • 9
  • 26
1
vote
0 answers

How can I publish my aar to bintray and prevent users from seeing the source?

I have created a bintray repository that has a package in it. When I publish my library and reference it from another project I am able to see my source code. On the other hand if I build aar and import it to my other projects directly the code is…
Ugnius V
  • 25
  • 6
1
vote
2 answers

Could javascript simple email obfuscators work?

I'm working on a site that will store thousands of records of email addresses for public reference and, since the server resources are pretty low and the load will be pretty high, I was thinking about writing a simple email obfuscator. It should…
cbrandolino
  • 5,873
  • 2
  • 19
  • 27
1
vote
2 answers

What kind of obfuscation is this

I saw some Java applications that have code like this: public class Test { public Test(); Code: 0: aload_0 1: invokespecial #1 // Method java/lang/Object."":()V 4: return public static…
gave
  • 181
  • 13
1
vote
1 answer

How to hide logic inside of a method but keep method name with proguard

I'm developing an AAR library for an Android application. I'm trying to use Proguard to keep a certain class visible but I only want to show the method names and not the actual logic inside of the method. In other words, I want clients to be able to…
Joel Pou
  • 158
  • 2
  • 13
1
vote
1 answer

What does obfuscating an API mean?

I am currently reading a research paper on obfuscation. Here's the portion of the paper that relates to my question. "while current obfuscation schemes elevate some islets of static analysis, such as changing layout of the source code, changing…
Barath R
  • 199
  • 3
  • 12
1
vote
0 answers

How can I obfuscate using "control flow flattening" at android native lib?

How can I obfuscate using "control flow flattening" at android native lib? build tool is Cmake. when I saw IDA pseudocode view, I could see originally code. could I hide original code using something like control flow flattening?
hyeonbell
  • 21
  • 4
1
vote
1 answer

Is it possible to hide React component source code through Node.js backend?

I want to hide my react source code if possible from my users. I might be completely wrong about this, but I think I remember reading something about how node js can render components server side, then send those rendered components to the front…
Philip Nguyen
  • 871
  • 2
  • 10
  • 29
1
vote
0 answers

Obfuscation (minifyEnabled true) not working in both Debug and Release

Android Obfuscation (minifyEnabled true) not working in both Debug and Release minifyEnabled - true is not working for android in debug mode. I have to Obfuscate my Android Project. I have tried below links but none worked for me. 1.proguardRelease…
Naveen
  • 481
  • 2
  • 6
  • 23
1
vote
3 answers

How can I de-comment JavaScript code with this preg_replace?

I'm trying to decomment my // comments in my javascript with php preg_replace() and made a preg_replace which should do following: 1.When a comment start on a new line, delete that entire line: // COMMENTS ..... 2.When comment is halfway behind a…
Sam
  • 15,254
  • 25
  • 90
  • 145
1
vote
1 answer

Android 8 handleReceiver/startServiceCommon bug

since we all like it short&crisp: I have an app in the store that produces a crash, that I can not reproduce (on 4 different android8 devices). According to GPlay it's a RuntimeException in the ActivityThread.handleReceiver and only in Android 8.x .…
Thkru
  • 4,218
  • 2
  • 18
  • 37
1
vote
1 answer

Spring boot :unable to open nested entry 'WEB-INF/lib-provided/ecj-3.12.3.jar'

I am trying to obfuscate the spring boot application. Package : war I was following the ant script approach with yguard Link : http://codeaweso.me/2009/02/obfuscating-a-webapp-war-file-with-yguard-and-ant/ Project…
mahesh
  • 909
  • 2
  • 18
  • 37
1
vote
0 answers

Removing Comments with ASM

[ASM -> Java] I want to know how to remove all comments and documentations from the classes with the ASM library in Java. I'm asking here, because i dont found anything on google. Thank you very much in advance :)
BlueCodeZ
  • 17
  • 2
1
vote
5 answers

In Class.forName got ClassNotFoundException when obfuscating in j2me

I am able to run the following example code //main class String a="Menu"; Object o = Class.forName("org.test."+a).newInstance(); //Menu class public class Menu() { public Menu() { System.out.println("con called"); } } It runs fine,…
JohnRaja
  • 2,377
  • 6
  • 26
  • 47
1
vote
0 answers

Vue javascript and css obfuscation

I'm working vue project. I was build it via vue-cli(Vue CLI v3.0.0-rc.3). I want obfuscate javascript files and css class names. When I was build my project I got an error: Module build failed (from …
Murat Seyis
  • 35
  • 1
  • 5