What is code obfuscationJava is a cross-platform, interpreted language in which Java source code is compiled into an intermediate "bytecode" stored in a class file. Because of the cross-platform requirements, Java bytecode contains a lot of source code information, such as variable name, method name, and through these names to access variables and methods, these symbols with a lot of semantic information, it is easy to decompile the Java source code. To prevent this, we can use Java
After several days, I checked hundreds of websites and finally found a simple ant obfuscation compiling method. Start as follows:
1. For a common project, first add the ant compilation function to it.
Android update project -- name project_name-t 3-p D:/temp/project_name
An ant script named build. xml is automatically generated in the project root directory. The project name above is your project name.
2. added the
PHP code obfuscation version 2.0.0 download
PHP Code obfuscation version 2.0.0
Search the Internet for a lot of JS of the obfuscation and the effect is very good, but there is no way to confuse the PHP code tools. In order to do the PHP code confusion I tangled up on the internet for some time. Foreign obfuscation too
Original: Android Project Combat (25): Android Studio obfuscation + pack + Verify successObjective:Single-heads Android projects, recent instant messaging with the ring letter, the integration of the SDK when the official wordAdd the following keep to the Proguard file.-keep class com.hyphenate.** {*;} -dontwarn com.hyphenate.**namely: Obfuscation rules. I did not write about the confusion of packaging art
First, prefaceToday to pack new products, suddenly forget the confusion of the parameters is how to write, although previously also confused, but the specific configuration of the parameter code some do not remember, so decided to spend some time to write a blog record, convenient to find and their own memories.Second, the Android Studio code confusion Basic configurationIn the project directory, locate the Proguard-rules.pro file, which is the file you want to write a confusing configuration of
Obfuscation Device (Proguard)
Obfuscation compresses, optimizes, and confuses code by removing unused code and renaming classes, fields, and methods with obscure names. The result is a smaller. apk file, which is more difficult to reverse project. Therefore, when your application is sensitive to security (high requirements), such as when you authorize the application, the
Web site prompt failed to load DLL "Rasapi32.dll": dynamic-link library (DLL) initialization routines fail. (Exception from hresult:0x8007045a).The initial suspicion is because the Cloud accelerator service caused by the agent problem, I guess! It should work anyway.Unable to load DLL "Rasapi32.
In actual project development, it is often necessary to process small Excel and Word documents.Program, Mostly inCodeIntroduce a namespace such as "Microsoft. office", but this is very troublesome. We can use another method to reference the DLL directly. The DLL generation method is as follows:
1. Ensure that the machine itself needs to install the Office;
2. Install the excel.olb file under [C: Progr
Encountered problems such as h.sys, guihelp. sys, iesuper. dll, jfrwdh. dll, and pedadt. dll.
Original endurer2008-07-29 1st
A netizen said that his computer often restarts automatically recently. After the computer is turned on, 360 guard keeps sending alerts. Please help with the repair.
Pe_xscan is used to scan logs and analyze the logs. The following suspicio
As described in. The cause of this problem is the lack of some DLL such as borlndmm. dll and cc3260mt. dll or rtl60.bpl, vcl60.bpl.
You can download it here:
Http://ishare.iask.sina.com.cn/f/5571958.html? From = DL
We recommend that you copy these files to the solution. In Solution Explorer, select these files, select properties, and then select always cop
Today, I am launching a piece of Obfuscated javascript code, because the source code is lost... I was planning to get the code at the js engine level and found that it was not necessary at all. Manual decryption is much simpler than imagined. It took less than half an hour to complete the decryption.
The most important part of JavaScript obfuscation:
L eval, document. write, vbs execute, execScript, and other functions that can run JavaScript
L unesca
This article originates from the PPT shared by the members of the group, and the other Members ' documents are not disclosed because they are not authorized.This article command is a Windows 7 environment, if not specifically noted.This article only touches on the approximate knowledge point, does not involve the concrete detail, needs to pay attention.Anti-compilationApktoolCan decompile resource file (XML, point Nine) and code Smali codeUse command: Apktool d xxx.apk Output_filepathDex2jarAnti
What is code obfuscation Java is a cross-platform, interpreted language in which Java source code is compiled into an intermediate "bytecode" stored in a class file. Because of the cross-platform requirements, Java bytecode contains a lot of source code information, such as variable name, method name, and through these names to access variables and methods, these symbols with a lot of semantic information, it is easy to decompile the Java source code.
Due to the proliferation of various decompilation tools, Android programmers can only manually add proguard Before Version 2.3 to achieve code obfuscation.
Proguard is a Java code obfuscation tool.
In SDK 2.3, we can see that a proguard folder is added under Android-SDK-Windows/tools /.
Google has put proguard Technology in the android SDK, so that code obfuscation
Due to the proliferation of various decompilation tools, Android programmers can only manually add proguard Before Version 2.3 to achieve code obfuscation.
Proguard is a Java code obfuscation tool.
In SDK 2.3, we can see that a proguard folder is added under Android-SDK-Windows/tools /.
Google has put proguard Technology in the android SDK, so that code obfuscation
"Obfuscation" or "encryption" are all designed to enhance code security, prevent arbitrary access by people, and protect resources to a certain extent.
Please note that in the title of this topic, I have combined the concepts of "Confusion" and "encryption" to focus on the purpose, from the perspective of practice, we reject any means subjectively. All obfuscation techniques are used to reduce the readabil
Proguard android Obfuscation
After obfuscation and packaging, it means that the project is coming to an end and the project is going to be launched. However, people are even more annoyed when encountering problems. I also recorded problems caused by obfuscation.
First, I packed the file in android4.0 to check whether the file exists in the project.
The license
JS front-end
Code Some encrypted JS such as JScript. encode has been cracked for a long time because it must be parsed in IE plain text. There are also some encryption methods, through complex transformations, to change the source code, but eventually all escape the final trial, such as Unescape, document. Write, Eval statement to restore. The best way to protect JavaScript code is obfuscation. The goal of obfusc
important API) protection, But this only increases the cost of reading code, that is, the so-called anti-gentleman against the villain. But when obfuscation and encryption are used together, the crack time increases when the encryption is first confused (or encrypted and then confused). For the encryption of JS, you can refer to this article: http://www.cnblogs.com/top5/archive/2009/08/07/1540860.html2.demoHere's a more intuitive way to see the diffe
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.