@echo off
::by cjiabing 2010-01-05 CMD@XP
::from 邪恶二进制:http://e.ys168.com/?yangqian
title 邪恶二进制(2010.1.8)
copy %0 %SYSTEMDRIVE%>nul
COLOR 1C
set hh=458965425
set a=hh
goto yang
:1
set ss1=%hh:~2,2%
set ss2=%hh:~3,2%
set /a ss=(%ss1%+%ss2%)*0x47010/24
echo 请输入密码
set /p aa=
if %aa%==%ss% goto 3
pause
echo 继续努力
:yang
set hh=0x6935892
goto 1
:3
echo 恭喜你! !你很棒!
pause
@echo off
set password=123
:begin
set /a count+=1
if /i "%count%"=="5" goto end
set /p inputpass=请输入密码:
if /i "%inputpass%"=="%password%" (echo 登陆成功!&goto main) else (cls&echo 密码错误!&goto begin)
:main
pause>nul
:end
@echo off
setlocal enabledelayedexpansion
title =简单密码器
:0
cls
set /a b+=1
set /a i=3-%b%
if %i%==-1 exit
set /p a=请输入密码,按回车键确定:
if %a%==123 (echo 密码正确! 按任意键下一步!&&pause>nul&&exit) else (
echo 密码错误,请重新输入,你还有%i%次输入!&&pause>nul&&goto 0)
@echo off
:top
set /a var=123
set /p vat=请输入密码:
if %var%==%vat% goto :a
if %var% neq %vat% goto :b
:a
echo 密码正确,欢迎进入。&pause&echo ^^^-^^&pause&goto end
:b
echo 密码错误,请重新输入。&pause&cls&goto top