Localization and cracking of. net programs

Source: Internet
Author: User
Tags reflector

If there is no shell software, you can use Visual Studio in Chinese.

By default, Vs will install the following tools. My development environment is vs2008.

1. Find the il ((ildasm.exe) In SDK tools to disassemble the software.
Open the main program and click File-dump. Export the Il code and resource file.

After the file is exported, You can compile and test the correctness.
Open the command line of Vs, enter the directory of the Il file, and enter ilasm/EXE/resource = *. Res *. Il

2. Find the corresponding file for Chinese conversion. Generally, there are three types of files:. Il file,. Resource file and. xml file.
The. Il. xml file is in text format and can be opened directly in the editor.
The code segment where ldstr is located in the. Il file is a string, which is similar to the following two types. The 2nd types are generally Unicode characters.
Ldstr "ABCD ..."
Ldstr bytearray (00 00 00 00 00 00 00)

. Resource is a binary resource file and can be converted to an XML Format File Using resgen.
In the vs command line, enter resgen *. Resources *. resx to convert it to The. resx file, and then open it in the editor.
In turn, resgen *. resx *. Resources is repackaged.

3. Compile and save ilasm/EXE/resource = *. Res *. Il

All are built-in vs tools. If you are not clear about them, you can check msdn.

**************************************** **************************************** ***

Use of reflector

Http://dev.yesky.com/463/8188463.shtml

Use of two plug-ins

Http://www.cnblogs.com/xugang/archive/2008/01/20/1045940.html

Brief Introduction to reflector.exe

Latest Version: 5.1.4.0

:

Http://www.red-gate.com/products/reflector/

The first time you open reflector, the software will let you select the fwk version. After you select the fwk version, reflector will list all fwk assembly (each namespace is used ), you can also open a local assembly file (such as EXE and DLL) to view all the information in the local assembly. It is quite convenient to use.

Ii. Function plug-in filedisassembler

:

Http://www.denisbauer.com/

The function of this plug-in is to help reflector import the parsed source code to a local hard disk, which is very useful.

(1) install plug-ins:

Open reflector, click "View" in the menu bar, select "add-ins", and follow the steps to install the plug-in.

(2) Open the filediscycler View

Open reflector, click "Tools" in the menu bar, and there is "file disassembler" at the bottom. Click it to open the view of the plug-in.

(3) how to use source code everywhere?

Find the unit you want to output (it can be the entire assembly, a naming control, a class or a smaller unit), and click the left button to select, in filedisassembler, an input box is used to set the path for saving the file. Click Generate to output the code to the desired location.

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.