一个神奇的加密程序

 

本文需评论之后方可查看!
:: -----------------------------------------------------------
@ECHO OFF
COLOR F8
MODE CON: COLS=50 LINES=1
SET TITLE=加密程序
SET LOCK=加密
SET KEY=解密
SET TEXT-1=密码不能为空!
SET TEXT-2=密码错误!
SET TEXT-3=正在执行之中...
SET TEXT-4=请解密再操作
SET TEXT-5=密码
SET BOX=LOCK
SET NAME=%0
IF NOT EXIST %BOX%\DATA~1\.SCF GOTO LOCK
IF EXIST %BOX%\DATA~1\.SCF GOTO KEY
:LOCK
TITLE %TITLE% [%LOCK%]
SET /p T=%TEXT-5%:
IF /I "%T%"=="" TITLE %TEXT-1% & PAUSE >NUL & CLS & GOTO LOCK
TITLE %LOCK%%TEXT-3%
MD %BOX%\DATA
MD %BOX%\DATA\%TEXT-4%..\
MD %BOX%\DATA..\
:: ECHO [.SHELLCLASSINFO]>%BOX%\DESKTOP.INI
:: ECHO CLSID={35786D3C-B075-49b9-88DD-029876E11C01}>>%BOX%\DESKTOP.INI
ECHO %T%>%BOX%\DATA~1\.SCF
ATTRIB %NAME% +R +S>NUL
ATTRIB %BOX% +R +S +H>NUL
IF EXIST DESKTOP.INI ATTRIB DESKTOP.INI -R -S -H>NUL
MOVE /Y .\*.* %BOX%\DATA~1>NUL
ECHO E 100 00 00 01 00 01 00 20 20 10 00 01 00 04 00 E8 02>>ICO
ECHO E 110 00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00>>ICO
ECHO E 120 00 00 01 00 04 00 00 00 00 00 00 00 00 00 13 0B>>ICO
ECHO E 130 00 00 13 0B 00 00 10 00 00 00 00 00 00 00 00 00>>ICO
ECHO E 140 00 00 FF FF FF 00 23 0D C4 00 00 00 00 00 00 00>>ICO
ECHO E 150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>>ICO
ECHO E 160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>>ICO
ECHO E 170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 33 00>>ICO
ECHO E 180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 33 00>>ICO
ECHO E 190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 22 22>>ICO
ECHO E 1A0 22 22 22 22 22 22 22 22 22 22 22 22 22 00 22 22>>ICO
ECHO E 1B0 22 22 22 22 22 22 22 22 22 22 22 22 22 00 22 22>>ICO
ECHO E 1C0 22 22 22 22 22 22 22 22 22 22 22 22 22 00 22 22>>ICO
ECHO E 1D0 22 22 22 22 22 22 22 22 22 22 22 22 22 00 22 22>>ICO
ECHO E 1E0 22 22 22 22 22 22 22 22 22 22 22 22 22 00 22 22>>ICO
ECHO E 1F0 22 11 11 11 11 11 11 11 11 11 22 22 22 00 22 22>>ICO
ECHO E 200 22 11 11 11 11 11 11 11 11 11 22 22 22 00 22 22>>ICO
ECHO E 210 22 22 22 22 22 22 22 22 22 22 22 22 22 00 22 22>>ICO
ECHO E 220 22 11 11 11 11 11 11 11 11 11 22 22 22 00 22 22>>ICO
ECHO E 230 22 11 11 11 11 11 11 11 11 11 22 22 22 00 22 22>>ICO
ECHO E 240 22 22 22 22 22 22 22 22 22 22 22 22 22 00 22 22>>ICO
ECHO E 250 22 11 11 11 11 11 11 11 11 11 22 22 22 00 22 22>>ICO
ECHO E 260 22 11 11 11 11 11 11 11 11 11 22 22 22 00 22 22>>ICO
ECHO E 270 22 11 11 11 11 11 11 11 11 11 22 22 22 00 22 22>>ICO
ECHO E 280 22 11 11 11 11 11 11 11 11 11 22 22 22 00 22 22>>ICO
ECHO E 290 22 11 11 11 11 11 11 11 11 11 22 22 22 00 22 22>>ICO
ECHO E 2A0 22 22 11 12 22 22 22 21 11 22 22 22 22 00 22 22>>ICO
ECHO E 2B0 22 22 11 12 22 22 22 21 11 22 22 22 22 00 22 22>>ICO
ECHO E 2C0 22 22 11 12 22 22 22 21 11 22 22 22 22 00 22 22>>ICO
ECHO E 2D0 22 22 11 12 22 22 22 21 11 22 22 22 22 00 22 22>>ICO
ECHO E 2E0 22 22 11 12 22 22 22 21 11 22 22 22 22 00 22 22>>ICO
ECHO E 2F0 22 22 21 11 22 22 22 11 12 22 22 22 22 00 22 22>>ICO
ECHO E 300 22 22 21 11 12 22 21 11 12 22 22 22 22 00 22 22>>ICO
ECHO E 310 22 22 22 11 11 11 11 11 22 22 22 22 22 00 22 22>>ICO
ECHO E 320 22 22 22 21 11 11 11 12 22 22 22 22 22 00 22 22>>ICO
ECHO E 330 22 22 22 22 22 22 22 22 22 22 22 22 22 00 22 22>>ICO
ECHO E 340 22 22 22 22 22 22 22 22 22 22 22 22 22 00 22 22>>ICO
ECHO E 350 22 22 22 22 22 22 22 22 22 22 22 22 22 00 22 22>>ICO
ECHO E 360 22 22 22 22 22 22 22 22 22 22 22 22 22 33 22 22>>ICO
ECHO E 370 22 22 22 22 22 22 22 22 22 22 22 22 22 33 C0 00>>ICO
ECHO E 380 00 00 C0 00 00 00 00 00 00 00 00 00 00 00 00 00>>ICO
ECHO E 390 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>>ICO
ECHO E 3A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>>ICO
ECHO E 3B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>>ICO
ECHO E 3C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>>ICO
ECHO E 3D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>>ICO
ECHO E 3E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00>>ICO
ECHO E 3F0 00 00 00 00 00 00 00 00 00 03 00 00 00 03>>ICO
ECHO RCX>>ICO
ECHO 2FE>>ICO
ECHO N ICO2>>ICO
ECHO W>>ICO
ECHO Q>>ICO
DEBUGNUL
COPY /B /Y ICO2 LOCK.ICO
ATTRIB +R +S +H LOCK.ICO
DEL ICO*
ECHO [.SHELLCLASSINFO]>DESKTOP.INI
ECHO INFOTIP=RED LOCK>>DESKTOP.INI
ECHO ICONFILE=LOCK.ICO>>DESKTOP.INI
ECHO ICONINDEX=^0>>DESKTOP.INI
ATTRIB DESKTOP.INI +R +S +H>NUL
ATTRIB "%CD%" +R>NUL
ATTRIB %NAME% -R -S
MOVE %NAME% %KEY%.CMD & EXIT
:KEY
TITLE %TITLE% [%KEY%]
SET /p T=%TEXT-5%:
IF /I "%T%"=="" TITLE %TEXT-1% & PAUSE>NUL & CLS & GOTO KEY
TITLE %KEY%%TEXT-3%
ECHO %T%>.SCF
FC /A .SCF %BOX%\DATA~1\.SCF>NUL
GOTO KEY-%ERRORLEVEL%
:KEY-1
TITLE %TEXT-2%
DEL .SCF
PAUSE>NUL
GOTO KEY
:KEY-0
IF EXIST DESKTOP.INI DEL /F /A DESKTOP.INI
IF EXIST LOCK.ICO DEL /F /A LOCK.ICO
MOVE /Y %BOX%\DATA~1\* .\>NUL
RD /S /Q %BOX%
DEL .SCF
IF EXIST DESKTOP.INI ATTRIB DESKTOP.INI +R +S +H>NUL
RD /S /Q %BOX%
ATTRIB %NAME% -R -S
MOVE %NAME% %LOCK%.CMD & EXIT
:: -----------------------------------------------------------

本文出自 “批处理、cracker专题” 博客,谢绝转载!

你可能感兴趣的:(加密,职场,休闲)