Deformation of winrar self-extracting files

Source: Internet
Author: User

It is particularly emphasized that there is a risk of modification. Please back up your data before modification!

Note:

For WINRAR self-extracting files (hereinafter referred to as "self-extracting files"), I don't want to introduce them more here. If you are interested, you can search for relevant information by google or baidu, the following tutorial explains how to decompress the file.

Introduction:

One bottleneck of Self-extracting files is that after you compress the files and generate the so-called XXX self-extracting file, right-click the file, you can clearly find the option "open with winrar", such:

Experienced people, as long as they have noticed, basically all know to use this option to decompress the self-extracting file. Is there a way to solve the above bottleneck? The answer is yes. Now let me hear it!

Objectives:

Enable the "open with winrar" option to not be displayed during right-click.

Steps: 

  Enable the "enable with winrar" option to not be displayed when right-clicking:

Required tools:Winhex and OllyDbg

First, let's use winhex to open our self-extracting file, and press the hotkey ctrl + f to search for "Rar! ", Such:

Here we will "Rar! "Changed to" Ray! ", Then remember the corresponding value. In the figure, the value above the modified value is" 52 61 79 ", for example:

Then, press ctrl + s to save our changes. Click "yes" in the pop-up dialog box!

Here, we have completed the first small part. Next we will use OllyDbg to open the self-extracting file we just modified and saved. After opening it, right-click anywhere and choose "Search"> "all constants, for example:

In the displayed dialog box, enter the first value we recorded in hexadecimal format-"52" and press enter, for example:

Double-click to search until the following content is found:

How is it? Are you familiar with "52 61 72" Where have we met? Go back and look at our 2nd images without modifying "Rar! "Is" Ray! "When, is this string of numbers" 52 61 72? After the change, the value is changed to "52 61 79". Here we should be able to guess what we have to do. Right, what we have to do below is to set "72" here ", change it to "79" and save it. Here I will omit the modified image. The modification method is to double-click the place to be modified, and then modify it. Then click assemble! When saving the file, you must select the area you just modified. It doesn't matter how much you select. You need to select it and then follow the steps!

Right-click and choose Save, and the name will be OK, for example:

At this point, our first goal is complete. Right-click the self-extracting file and choose whether the option "open with winrar" is not available. Do you believe me, for example:


----------------------------------------------------------------------------------

If the original article is reprinted, please note: Reprinted from365 laboratories

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.