obfuscation

protect python code from reverse engineering

有些话、适合烂在心里 提交于 2020-08-08 07:17:32
问题 I'm creating a program in python (2.7) and I want to protect it from reverse engineering. I compiled it using cx_freeze (supplies basic security- obfuscation and anti-debugging) How can I add more protections such as obfuscation, packing, anti-debugging, encrypt the code recognize VM. I thought maybe to encrypt to payload and decrypt it on run time, but I have no clue how to do it. 回答1: Generally speaking, it's almost impossible for you to make your program unbreakable as long as there's

Meaning of { *; } in ProGuard

笑着哭i 提交于 2020-07-18 09:29:14
问题 Consider this proguard statement : -keep public class * extends android.support.design.widget.CoordinatorLayout$Behavior { *; } In this statement what does the addition of { *; } mean? Does it preserve all methods? All fields? Or just the entire class? 回答1: It is used as a wildcard in ProGuard to indicate all members and methods in the class . Source: ProGuard manual, Stack overflow 来源: https://stackoverflow.com/questions/32455157/meaning-of-in-proguard

Meaning of { *; } in ProGuard

被刻印的时光 ゝ 提交于 2020-07-18 09:28:12
问题 Consider this proguard statement : -keep public class * extends android.support.design.widget.CoordinatorLayout$Behavior { *; } In this statement what does the addition of { *; } mean? Does it preserve all methods? All fields? Or just the entire class? 回答1: It is used as a wildcard in ProGuard to indicate all members and methods in the class . Source: ProGuard manual, Stack overflow 来源: https://stackoverflow.com/questions/32455157/meaning-of-in-proguard

Obfuscating tool for Python3 code

筅森魡賤 提交于 2020-07-08 12:55:30
问题 Is there any existing python code obfuscating tool for Python3? Please do not try to teach me that Python isn't the right choice if I want to hide/obfuscate my code. Or that correct licenses should protect the code instead of obfuscation... Update: This question does not duplicate issue How do I protect Python code?: I simply ask if there is a tool to obfuscate Python. Nothing more and nothing less. ( If there is none I wonder why I get so much feedback... ) 回答1: No matter what you do, at

Android studio 3.4.2 R8 obfuscator does not obfuscate class names, but only java code inside

非 Y 不嫁゛ 提交于 2020-07-06 10:46:31
问题 When I upgraded to the latest Gradle version, my class names are not being obfuscated anymore. The current studio version is 3.4.2 As the latest version uses R8 obfuscation instead of Proguard , I have removed the previous configuration of proguard-rules.pro as it does almost nothing at all. I still use buildTypes { release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } and inside proguard-rules.pro i

Obfuscating Swift code before submission to Apple App Store

醉酒当歌 提交于 2020-07-02 06:25:35
问题 I'm having a hard time finding any info on this. Android themselves mention code obfuscation as something to do before submitting to their store. But I see nothing about this from Apple or from any "third party" before-submission checklists. The only similar question I could find was one 5 years ago about Objective-C, and I only can find 1 github library about iOS obfuscation. Is it a common practice to obfuscate Swift code when submitting to the Apple App Store? Especially to hide any

Obfuscating Swift code before submission to Apple App Store

 ̄綄美尐妖づ 提交于 2020-07-02 06:24:51
问题 I'm having a hard time finding any info on this. Android themselves mention code obfuscation as something to do before submitting to their store. But I see nothing about this from Apple or from any "third party" before-submission checklists. The only similar question I could find was one 5 years ago about Objective-C, and I only can find 1 github library about iOS obfuscation. Is it a common practice to obfuscate Swift code when submitting to the Apple App Store? Especially to hide any

Obfuscating the .aar files

柔情痞子 提交于 2020-06-10 12:44:46
问题 I have created the .aar file (containing the resources & drawables) of an Android library project using ./gradlew assemble I have enabled obfuscating by setting minify == true buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } However when I run the mentioned gradle command with minify enabled = true, I get java.io.IOException: The output jar is empty. Did you specify the proper '-keep' options? What does this error