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
64
votes
9 answers

How to spamproof a mailto link?

I want visitors to be able to click on (or copy) an email address directly on my webpage. However, if I could make it (a little bit) harder for bots and other crawlers to get said email address and register it in a spam list, it would be awesome. I…
Wookai
  • 20,883
  • 16
  • 73
  • 86
64
votes
7 answers

How can I hide or encrypt JavaScript code?

Is there any way to hide or encrypt JavaScript code to prevent people from viewing, copying, and/or modifying proprietary programs?
jasonGreen
63
votes
6 answers

Is it possible to hide/encode/encrypt php source code and let others have the system?

Is it possible to hide/encode/encrypt the php file/source code, and let others have the system installed and run on their machine?
Newbie
  • 2,775
  • 6
  • 33
  • 40
61
votes
6 answers

Android version release warning message: This App Bundle contains Java/Kotlin code, which might be obfuscated

I got this warning message: This App Bundle contains Java/Kotlin code, which might be obfuscated. We recommend you upload a deobfuscation file to make your crashes and ANRs easier to analyze and debug what does it mean? what is the shortest…
ar36el
  • 946
  • 1
  • 9
  • 14
59
votes
7 answers

How to compile a linux shell script to be a standalone executable *binary* (i.e. not just e.g. chmod 755)?

I'm looking for a free open source tool-set that will compile various "classic" scripting languages, e.g. Korn Shell, ksh, csh, bash etc. as an executable -- and if the script calls other programs or executables, for them to be included in the…
therobyouknow
  • 6,604
  • 13
  • 56
  • 73
59
votes
4 answers

How good is Dotfuscator Community Edition? What is "good enough obfuscator"?

I plan to release one small, low priced utility. Since this is more hobby than business, I planned to use Dotfuscator Community Edition that is shipped with VS2008. How good is it? I could also use definition of "good enough obfuscator" - what…
zendar
  • 13,384
  • 14
  • 59
  • 75
54
votes
5 answers

Android - How to check Proguard obfuscation has worked?

I have obfuscated my apk, but the file size has only been reduced from 12MB to 10.5MB. The reason it is only a relatively small reduction may be because my app uses a couple of large libraries, but is there any way I can check the level of…
ban-geoengineering
  • 18,324
  • 27
  • 171
  • 253
52
votes
11 answers

How do you hide secret keys in code?

I've wondered for some time how some software hides secret keys in such a way that they can't be trivially discovered. Just a few examples: DVD Player Software hides CSS keys Software with serial numbers/registration codes hides keys/hashes used to…
TTar
  • 905
  • 1
  • 8
  • 12
52
votes
3 answers

Symbol hiding in static libraries built with Xcode

I'm trying to figure out whether I can build a static library that hides all of its internal objects and functions, etc, except for the interfaces I want to export. I'm experimenting with Xcode (gcc 4.2). I've used the…
Ben Zotto
  • 70,108
  • 23
  • 141
  • 204
51
votes
7 answers

Do you obfuscate your commercial Java code?

I wonder if anyone uses commercial/free java obfuscators on his own commercial product. I know only about one project that actually had an obfuscating step in the ant build step for releases. Do you obfuscate? And if so, why do you obfuscate? Is it…
cringe
  • 13,401
  • 15
  • 69
  • 102
50
votes
5 answers

Obfuscation in Android Studio

Is there any obfuscation tool to use with Android Studio? IntelliGuard plugin is declared to be supported by the Studio, but it doesn't work actually due to missing AntSupport plugin. I wan't able to find one in the repository. Any ideas? P.S.…
no id
  • 1,642
  • 3
  • 24
  • 36
49
votes
4 answers

Does proguard work to obfuscate static string constants?

Will proguard work to obfuscate static string constants?
Code Droid
  • 10,344
  • 17
  • 72
  • 112
47
votes
2 answers

Why and how does ([![]]+[][[]])[+!+[]+[+[]]] evaluate to the letter "i"?

While reading this article posted on dzone I found a snippet of JavaScript originally posted on Twitter by Marcus Lagergren. The following code apparently prints the string…
toniedzwiedz
  • 17,895
  • 9
  • 86
  • 131
47
votes
51 answers

Making email addresses safe from bots on a webpage?

When placing email addresses on a webpage do you place them as text like this: joe.somebody@company.com or use a clever trick to try and fool the email address harvester bots? For example: HTML Escape…
Gary Willoughby
  • 50,926
  • 41
  • 133
  • 199
42
votes
2 answers

Using Proguard with Android without obfuscation

I am getting an error "Conversion to Dalvik format failed with error 1" when using the -dontobfuscate flag. Otherwise my app exports fine. I don't want to obfuscate because I am using BugSense for error tracking and they charge $99 a month if you…
theJosh
  • 2,894
  • 1
  • 28
  • 50