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

How can I obfuscate/de-obfuscate integer properties?

My users will in some cases be able to view a web version of a database table that stores data they've entered. For various reasons I need to include all the stored data, including a number of integer flags for each record that encapsulate…
ed94133
  • 1,477
  • 2
  • 19
  • 40
1
vote
0 answers

Obfuscate a Single Java Class File using Third party tool

I'm currently looking for some tool which can Obfuscate a Single Class file. Where it would be better when you suggest me some tool for Control flow obfuscation.I have tried proguard, DashO, and some tool where it doesn't supports the Class file and…
user8944404
1
vote
2 answers

CSS class names in Atlassian's Jira are obfuscated

I noticed in Jira, they have obfuscated the CSS classes, so they look odd and they are different on every page refresh:
williamthomas
  • 105
  • 1
  • 10
1
vote
2 answers

How is this code calculating pi and what principle is it based on?

I've stumbled upon this snippet in the signature of a mail: int f[9814],b,c=9814,g,i;long a=1e4,d,e,h;main(){for(;b=c,c-=14;i=printf( "%04d",e+d/a),e=d%a)while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d%g;} This calculates the output of pi…
Karol Babioch
  • 666
  • 8
  • 16
1
vote
0 answers

Inner companion object is renamed on obfuscation and it is not accessible from other modules

When obfuscating kotlin module the inner companion objects are renamed and are not accessible from other module though in mapping file i can see that the output object has the same name as the original one com.test.example.OuterClass$Configuration…
1
vote
0 answers

What should be run first obfuscation or minification of javascript code in Ionic3 App

I am about to ship an ionic 3 app and i am running in the process of obfuscating and uglifying the code. For uglification, we are using the builtin uglifyer which gets executed when building with --prod. For obfuscation we are running…
Elio Khattar
  • 320
  • 1
  • 3
  • 16
1
vote
3 answers

Securing/Obfuscating JavaScript API requests

I have a page that allows users to watch a YouTube video and automatically receive a reward as soon as the video ends playing. This is done with the Youtube JS API: pseudocode: function videoStoppedPlaying() { requestRewardFromServer(); //…
1
vote
1 answer

Proguard Rules for local classes

I want to know what does mean by -ignorewarnings -keep class * { public private *; } -keep class * { public private protected *; } And what if there are some model classes there in my code have some primitive types and getter setters. I don't want…
Ali Akram
  • 4,803
  • 3
  • 29
  • 38
1
vote
0 answers

Obfuscating a cocoa touch swift framework

So I'm currently building a cocoa touch swift framework. The problem is that it is required for me to obfuscate the code (security reasons). I have searched and found ways to obfuscate code individually(certain lines of code) or code written in…
1
vote
5 answers

Masking all but first letter of bad words

I'm attempting to create a bad word filter in PHP that will search a text, match against an array of known bad words, then replace each character (except the first letter) in the bad word with an asterisk. Example: fook would become f*** shoot…
mwieczorek
  • 2,107
  • 6
  • 31
  • 37
1
vote
1 answer

Does jlink still require obfuscation (i.e. can a decompiler be run on the modules file)?

In Java 8 I needed to obfuscate jar/class files for an application. I'm migrating this application to Java 10 and I'm also updating the build process to use modules so that we don't have to provide the full JRE. When I compile (javac) with modules…
Sooth
  • 2,834
  • 23
  • 26
1
vote
2 answers

How to use Proguard with Android and protect the app's functional integrity?

I've an Ant build using the Proguard config below, which is that generated by the "android" command line tool, it seems pretty straightfoward. But when I build the app using this script, the app blows up when it's executed on the device, with a…
Ollie C
  • 28,313
  • 34
  • 134
  • 217
1
vote
1 answer

How to read Play Store Crash Report, Proguard obfuscation

I got the following crash report in Google Play Store: java.lang.NullPointerException: at com.xxx.MainActivity.access$1000 (MainActivity.java) or .access$900 (MainActivity.java) or .doStamping…
j3App
  • 1,510
  • 1
  • 17
  • 26
1
vote
1 answer

How to obfuscate Spring Boot App with proguard

I try to obfuscating my spring boot app via proguard maven. Proguard successfully obfuscate jar file. But When I run obfuscate jar file, I got this error; java.lang.IllegalStateException: Unable to open nested entry…
drojokef
  • 425
  • 1
  • 5
  • 15
1
vote
2 answers

ProGuard breaks Java application - no text, no images

I'm trying to use ProGuard to obfuscate a Java application. I'm experiencing a problem where all of my text and images disappear from the GUI (Swing) forms. I've tried disabling optimizations and including more libraries, but nothing seems to be…
jocull
  • 20,008
  • 22
  • 105
  • 149
1 2 3
99
100