How to crack the BAT batch source code in a pseudo EXE

Source: Internet
Author: User

Comments: Recently I found several good batch processing programs, but they are all disguised as exe files by software. I am not happy to be friends who want to learn the source code. Here is a simple example, some software can be cracked like this

The pseudo-exe I mentioned here is the BAT batch processing program. It only has a layer EXE shell, that is, isn't there a lot of BAT-to-EXE tools on the Internet? It is the program that the tool transfers out. These conversion tools do not really compile BAT into EXE, because that is impossible. Therefore, the pseudo-EXE programs only package BAT in it and release it when running. I don't know how to describe it. That's exactly what it means. Therefore, it will surely have a release path. After finding this path, we will find this BAT and then crack the source code.

In fact, the method is very simple. I always do this. There are no technical articles to write recently. You can write such a large number of articles ~ Next I will demonstrate how to crack the source code of a print task one-click cleanup exe program just downloaded yesterday. Today, on the 13th, the program was just written the day before.

First, double-click the program to run. Do not close the program. Some programs will KillSelf when it is closed;

Next, run cd % temp % in CMD. At first, I used dir *. bat is not found, and you may want to think about it. cmd file, so try dir *. cmd. No results are returned;

Again, let me explain the following:

Finally, copy the found BAT and right-click "edit" to view the source code. The source code is as follows:

The Code is as follows:
@ Echo off
Title [one-click cleanup of print tasks] BY: wnsdt
Color 2f
Echo. & echo. & echo.
Echo description (2011.10.11 ):
Echo. & echo.
Echo this tool can quickly clear unresponsive print tasks and solve the problem of printing failure!
Echo.
If echo is used to connect to a shared printer in the network, run this tool on that computer!
Echo. & echo.
Echo ----------------------------------------------------------------
Echo.
Echo has a problem to Weibo message <a href = "http://t.qq.com/wnsdt_kk"> http://t.qq.com/wnsdt_kk </a>
Echo. & echo.
Start echo by pressing any key. Disable echo directly when exiting.
Pause> nul 2> nul
Cls
Echo. & echo.
Echo is cleared later. Print again ......
SC config spooler start = disabled> nul 2> nul
Net stop spooler> nul 2> nul
Del % systemroot % \ System32 \ spool \ PRINTERS \ *. */q/s/f> nul 2> nul
SC config spooler start = auto> nul 2> nul
Net start spooler> nul 2> nul
Exit

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.