Android project obfuscated the generated jar package, androidjar
Another sleepless night
The problem is that we have written some android project code to generate a jar package and confuse the jar package without being cut by others!
First of all, you need to generate a jar package using the code. Find proguardgui. jar (directory: SDK \ tools \ proguard \ lib \) in the sdk and open it.
Then you will see the proguard page
Click Next for the first tim
reason to see codeproject above an article explaining how to apply mono.cecil to implement. NET code injection, which caught my attention all of a sudden. Unlike our usual reflection, it implements the code to directly modify the assembly, which is much more advanced than the 16 binary tool to modify the Exe/dll binary file, after all it is original. NET code, you can directly debug, observe the implementation process. Take care, find systeminternal
To prevent code decompilation, android introduces the concept of obfuscation code.
1. Set ObfuscationFind the project. properties file under the project.
Add proguard. config =$ {sdk. dir}/tools/proguard/proguard-android.txt in the file: proguard-project.txt this is the system
You can also use your own obfuscation file (so that you can configure some of your own
......
After realizing that I was in the wrong direction, I immediately translated my thoughts into English and searched for them by Google. The quality of Google translation is really good.
Soon I got this article decrypting strings in obfuscated assemblies, which tells me that this Assembly applies the string obfuscation algorithm. The same example is as follows:
Int num = 19; If (ARGs. length
When foreigners see the text of these squares, the fir
A brief summary of the differences between obfuscated functions such as echo (), print (), require (), and include ()
A brief summary of the differences between obfuscated functions such as echo (), print (), require (), and include ()
1. Differences between echo and printThe echo and print functions in PHP are basically the same (output), but there are still slight differences between the two. No re
How to Use Dotfuscator to encrypt. Net obfuscated code, dotfuscator.net
Obfuscation code can be stolen to some extent to protect our intellectual property rights.
1. Open vs2012 and select tool> Dotfuscator Software Services.
2. Select the DLL file you want to confuse.
3. Select the output path
4. Run dotfuscator to generate obfuscation code
Net Software Encryption. Which of the following is
Use proxy smart line selection for obfuscation of ssh (obfuscated), sshobfuscated
I don't know what's wrong. Some Website access is always unstable, and the speed is not satisfactory (You know, huh, you know). There is always a furious attack and defense game. I recently learned obfuscated ssh, which was developed by the author for 08 years but has never been paid much attention to. Even openssh does not ac
; "src =" http://www.bkjia.com/uploads/allimg/131228/0633521Y7-3.png "title =" 3333333333.png"/>
After finding the folder, if the directory contains multiple class files, you also need to determine which class the obfuscated class corresponds. In this case, you can use the mapping file in the proguard directory of the project to find the confusion correspondence between each class, so as to identify the a
A brief summary of the differences between obfuscated functions such as echo (), print (), require (), and include ()
1. differences between echo and printThe echo and print functions in PHP are basically the same (output), but there are still slight differences between the two. No return value after echo output, but print has a return value. if the execution fails, flase is returned. Therefore, it can be used as a common function. for example, after
You must have such experience in Android development. The company requires that all the code be obfuscated, and then they work hard to add various configuration filesProguard. confThe product was launched. As a result, umeng collected some error information, but it seems completely confused.
HoweverProguardThe built-inRetrace. ShThe tool can restore the mixed effect code.
The procedure is as follows:
I downloaded a retrace tool from the Internet
1. Want to seeJavaAfter the source code of the developed program is decompiled with jad, it is found that the code has been obfuscated. Some defined String variables have been obfuscated by obfuscation algorithms and cannot be seen by the original strings, the obfuscated code after jad decompilation is as follows:View source
Print?
01
static
Three functions that I often confuse in PHP, and three functions obfuscated in PHP. Three functions that I often confuse in PHP: www.ido321.com1252.html 1. htmlentities () and htmlspecialchars () 1. htmlentities () 1.1: three functions that I often confuse in PHP, and three functions obfuscated in PHP
Original article: http://www.ido321.com/1252.html
1. htmlentities () and htmlspecialchars ()
1. htmlentiti
When the obfuscated code outputs a stack of information, the method name is not recognized, which makes debugging difficult or even impossible.Fortunately, when Proguard runs, it will output a The Retrace.bat script (Window) or retrace.sh script (Linux,mac OS X) can restore a garbled stack trace to a readable message.It is located in the retrace.bat|retrace.sh [-verbose] mapping.txt [For example:Retrace.bat-verbose Mapping.txt Obfuscated_trace.txtIf y
Method 1: Use the IE Developer tool (IE 8 has already come with it, and IE Developer Toolbar needs to be downloaded and installed before IE7) for anti-obfuscation. I often use Chrome, but there is no way to use Chrome's built-in developer tools to implement anti-obfuscation... I hope you will be informed of this...
Don't worry, directly
Method 2: code implementation (ps. well, as a common resentment among some developers, many developers want to use their own developed things most often, s
: This article mainly introduces three confusing functions in PHP. For more information about PHP tutorials, see. Three obfuscated functions in PHP
1. htmlentities () and htmlspecialchars ()
1. htmlentities ()
1.1 Function: convert characters into HTML objects. Characters include ASCII entity and ISO 8859-1 entity (HTML entity table: http://www.w3school.com.cn/tags/html_ref_entities.html)
1.2 Syntax: htmlentities (string, quotestyle, character-set)
1
Recently, a Android project uses the JNI mechanism. After packaging and using proguard to confuse release, we found thatProgramException.CodeYou cannot debug or see any abnormal logs. If you find proguard obfuscation on the internet, JNI-related classes may also be confused, especially the callback method in JNI. To verify the problem, after decompiling by dex2jar and other tools, we can see that the class of the JNI callback is obfuscated. To solve t
After the project code that uses the afinal annotation is obfuscated, some view click events of some controls are invalid. afinalview
Recently, a project was launched, requiring code obfuscation. After obfuscation, click events of some controls were invalid and were later found to be afinal annotations. After checking the materials for half a day, I asked the afinal related personnel about the solution they provided. The solution was to exclude the c
contain the file a. php:
If ($ ){Include ("A. php ");}
The require () is different from include (). No matter what the value of $ A is, the following code will include file a. php into the file:
If ($ ){Require ("A. php ");}
For error handling, use the include statement. If an include error occurs,ProgramThe include statement will be skipped. Although the
1. Differences between echo and print
The echo and print functions in PHP are basically the same (output), but there are still slight differences between the two. No return value after echo output, but print has a return value. If the execution fails, flase is returned. Therefore, it can be used as a common function. For example, after the following code is executed, the value of $ r is 1.
$ R = print "Hello World ";
This means that print is available in some complex expressions, but echo is not
(there is no place to set it), such as net service name. Some are field names in some tables/views, such as INSTANCE_NAME in the V $ INSTANCE view. Some are the names of environment variables, such as ORACLE_SID. Or the parameters set in the listener or client configuration file, such as SID, SID_NAME, SERVICE_NAME, GLOBAL_DBNAME
--------------------------------------------------------------------------------
Installing Oracle 12C in Linux-6-64
Insta
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.