Use the batch file lightweight, crack the RAR, ZIP password?

xiaoxiao2021-03-06  41

These two days, a friend, the previous RAR password forgot me: You go online to find a software he replied: all can't do the latest version or not, I said: Then write a program to call the command line of the RAR belt. Sub-measters, then judge the information returned by Rar.ext he replied: it seems to be very urgent. I said: Then I will test it, write a few lines of programs. He replied: Good, I will wait to open "the legend can forget the vs.net" of other development environments "New C # project, ready to write code NND, I have long, I don't write to capture the command line, I have to find information, I suddenly think of seemingly windows batches Handling for a 1 minute test Finally gave the for command to cooperate with the Type command and unrar.exe and a dictionary can be found to find ZIP can also use the similar method to get the method to see you:

Establish a directory where you don't use [DIR] instead of COPY you forgot your password RAR to [DIR] (this RAR is used in RARFILE.RAR) COPY UnrarRAR.exe or Rar.exe in your computer RAR installation directory Under [DIR], find a program that generated a dictionary into a dictionary (hereinafter, using pss.txt), your handwritten also format is as follows: (a carriage return per line)

123

ABC

Test

Admin

The content of the new batch file is as follows (a suddenly unrarrfile.cmd):

FOR / F "USEBACKQ" %% I in (`Type Pss.txt`) do unrar.exe e -p %% i RARFILE.rar

Then you can run unrarrfile.cmd successfully after the screen will stop there and ask you ---------------------------------------------------------------------------- ---------------

[File] Already existed, is overwriting it? <

[Y] - Yes, [N] - No, [A] - All, [E] - Never, [R] - Rename [Q] - Exit ------------------------------------------------------------------------ --------------------------------

At this time, press CTRL C End Commands Instant Your file and successfully decompressed

Carborage 2005-12-7 9CBS startup (such as reprint, please indicate the author and where to reprint)

转载请注明原文地址:https://www.9cbs.com/read-57333.html

New Post(0)