obfuscation

Obfuscated code contains same member variable names

↘锁芯ラ 提交于 2019-12-13 02:07:21
问题 I have an obfuscated jar which is part of a deployed application in Tomcat on my machine. The jar consists of some weird code with same variable names. I used jshrink in order to decompile the code. static private org.apache.commons.logging.Log a; private org.springframework.context.MessageSource a; private org.springframework.context.support.MessageSourceAccessor a; static private LicenseBean a; static private ThreadLocal a; private javax.servlet.ServletContext a; private String a; public

calculating expression without using semicolon

淺唱寂寞╮ 提交于 2019-12-12 20:38:40
问题 Given the expression by input like 68+32 we have to evaluate without using a semicolon in our program. If it will be something inside the if or for loop? Reference : https://www.spoj.pl/problems/EXPR2/ 回答1: You can use if and the comma operator, something like this: if( expr1, expr2, expr3, ... ) {} It would be equivalent to expr1; expr2; expr3; ... To use variables without any warnings you can define a function the recieves the data types you need that you call from your main, like so: void

Does SPIR-V bytecode provide obfuscation?

耗尽温柔 提交于 2019-12-12 20:27:51
问题 It is straightforward for a reverse engineer to attach a graphics debugger to an OpenGL application to extract the shader source code. It is my understanding that Vulkan, on the other hand, uses SPIR-V bytecode, rather than passing plaintext shaders to the graphics API. Does SPIR-V bytecode obfuscate the shader source, or is it fairly easy to decompile? 回答1: There is an entire specification explaining, in explicit detail, the behavior of each and every SPIR-V opcode. That's kinda the opposite

Netbeans. Obfuscator type (PROGUARD) is not found in obfuscator classpath

自古美人都是妖i 提交于 2019-12-12 18:27:24
问题 I'm trying to build my project obfuscated but It's not working. I get this warning: Obfuscator type (PROGUARD) is not found in obfuscator classpath, using NONE. Please use Plugins Manager to install the missing obfuscator library. I looked at the plugins option but I don't know how to add proguard. 回答1: Goto the Tools > Plugins then goto Available Plugins tab and search for Proguard you will have that listed. Tick the checkbox that follows it and press install. You can see the screenshot

Obfuscating a module/library

元气小坏坏 提交于 2019-12-12 18:25:25
问题 I have a library that will be consumed by apps. This module has interfaces and helper classes. How can I obfuscate the whole module but still allow access to all those interfaces and helper classes? I tried this: buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } Then I found myself having to do --keep on all my classes in proguard. Is there something I can add to pro guard so that I can keep all those interfaces

are there any potential issues with obfuscating an application?

浪尽此生 提交于 2019-12-12 13:53:28
问题 I am building a spring mvc web application. I plan on using hibernate. I don't have much experience with obfuscating etc. What are the potential downsides to obfuscating an application? I understand that there might be issues with debugging the app, and recovering lost source code is also an issue. Are there any known issues with the actually running of the application? Can bugs be introduced? Since this is an area I am looking for general guidance, please feel free to open up any issues that

Help me choose .net obfuscator program?

泪湿孤枕 提交于 2019-12-12 12:52:41
问题 I have written a program in vb.net 2008 (using .net 3.5). It's a decent size program. One part of this program is to access an online database and encrypt/decrypt files. To access db I use a hardcoded password. To encrypt/decrypt files I used a hardcoded key. No matter what I do I would need to hardcode one of the two things at least. For example: even if I store database password in an encrypted file I would need to hardcode key to decrypt it. Or vice versa. So after doing some thinking I

How can I use different proguard files in different flavors or for different build types?

荒凉一梦 提交于 2019-12-12 11:23:29
问题 I need to make different flavors for test libraries. Why? Well, I want project to be fully secured so I wanna minifying to be enabled all the time(even for debug build type). While making tests I'm using different classes from project, so I decided to change proguard files using flavor. It looks like something this : android { ... buildTypes { release { minifyEnabled true testProguardFile 'test-proguard-rules.pro' } debug { minifyEnabled true testProguardFile 'test-proguard-rules.pro' } } ...

Does the exe you get out of obfuscation programs vary in speed?

☆樱花仙子☆ 提交于 2019-12-12 11:17:46
问题 There are a number of obfuscation programs out there for .Net and I've tried one, my exe seems much slower when obfuscated. Do all obfuscation programs have the same effect or have I chosen a bad one? I'm hoping some are better than others, if you know of a fast one let me know. 回答1: Disclaimer: my employer is PreEmptive Solutions, the creator of the Dotfuscator .NET obfuscator. It can depend on the obfuscator you use and the options you enable in it. I am going to speak from experience with

Parcelable Issues When Obfuscating With Proguard

两盒软妹~` 提交于 2019-12-12 10:34:48
问题 My app works fine before obfuscation but when I enable proguard I get the following error: 2013-05-02 13:43:58.772 E 30138/AndroidRuntime: FATAL EXCEPTION: main java.lang.NumberFormatException: Invalid long: "0.20" at java.lang.Long.invalidLong(Long.java:125) at java.lang.Long.parse(Long.java:362) at java.lang.Long.parseLong(Long.java:353) at java.lang.Long.parseLong(Long.java:319) at com.sourcetone.data.model.Station.long getId()(SourceFile:195) at com.sourcetone.STStationListFragment.void