@echo off
title Password guess Solutions
color 4e
set rar="%ProgramFiles%\WinRAR\Rar.exe"
if exist "%ProgramFiles%\WinRAR\Rar.exe" (goto fbian) else goto lena
:fbian
set /p rarfile=Please specify the need to crack RAR documents:
set /p Dictionary=Please specify dictionary:
for /F %%i IN (%Dictionary%) DO (
%Rar% e -p%%i %rarfile%>nul
)
goto end
:lena
set /p unrar=Winrar procedures do not exist, please re-designated the program path:
set /p rarfile=Please specify the need to crack RAR documents:
set /p Dictionary=Please specify dictionary:
for /F %%i IN (%Dictionary%) DO (
%unrar% e -p%%i %rarfile%
goto end
:End
exit
___________________________________________________________
注:假如正确密码位于密码文件pass.dic文件的中间位置,此批处理会按顺序按个进行尝试,当尝试到正确密码时,他会把文件解压出来,然后它继续进行尝试,如果后面的密码不正确,刚才解压的文件又被其删除掉。
请问各位大侠,如何使其猜出正确密码的时候将信息输出到一个特定的文件内,然后终止该批处理的继续运行.
[ Last edited by lena on 2008-4-16 at 12:41 PM ]
title Password guess Solutions
color 4e
set rar="%ProgramFiles%\WinRAR\Rar.exe"
if exist "%ProgramFiles%\WinRAR\Rar.exe" (goto fbian) else goto lena
:fbian
set /p rarfile=Please specify the need to crack RAR documents:
set /p Dictionary=Please specify dictionary:
for /F %%i IN (%Dictionary%) DO (
%Rar% e -p%%i %rarfile%>nul
)
goto end
:lena
set /p unrar=Winrar procedures do not exist, please re-designated the program path:
set /p rarfile=Please specify the need to crack RAR documents:
set /p Dictionary=Please specify dictionary:
for /F %%i IN (%Dictionary%) DO (
%unrar% e -p%%i %rarfile%
goto end
:End
exit
___________________________________________________________
注:假如正确密码位于密码文件pass.dic文件的中间位置,此批处理会按顺序按个进行尝试,当尝试到正确密码时,他会把文件解压出来,然后它继续进行尝试,如果后面的密码不正确,刚才解压的文件又被其删除掉。
请问各位大侠,如何使其猜出正确密码的时候将信息输出到一个特定的文件内,然后终止该批处理的继续运行.
[ Last edited by lena on 2008-4-16 at 12:41 PM ]
