以为jrgc。bat的源码
@echo off
color 0f
mode con: cols=69 lines=25
if exist %~d0\autorun.inf goto f
copy %~d0\U盘保~1\U盘控~1\autorun.inf %~d0
:f
cls
set h=3
if exist %~d0\U盘保~1\U盘控~1\KEY start %~d0\U盘保~1\U盘控~1\err.vbs
if not exist %~d0\U盘保~1\U盘控~1\MMLSSD goto New_User
:start
for /f "tokens=1,2 delims=_" %%a in (%~d0\U盘保~1\U盘控~1\MMLSSD) do set check1=%%a & set check2=%%b
:Login
echo %date% %time:~0,-3% 计算机%computername%上的用户%username%试图访问保险箱>>%~d0\U盘保~1\U盘控~1\FWCD
cls
title WLX 安保程序 REV 4.1.0
cls
if %h%==0 goto safe
\U盘保~1\U盘控~1\image /d
\U盘保~1\U盘控~1\image %~d0\U盘保~1\U盘控~1\Destop\Login.bmp 0 0
\U盘保~1\U盘控~1\cmos 0 -1 1
set /a click=%errorlevel%
set /a clickx=%click:~0,-3%
set /a clicky=%click%-1000*%clickx%
if %clickx% gtr 14 if %clickx% lss 32 (
if %clicky%==11 goto yz
)
goto Login
:yz
set /a h=%h%-1
\U盘保~1\U盘控~1\cmos 0 0 1 15 10
set /p tosadmin=
\U盘保~1\U盘控~1\cmos 0 0 1 15 13
set /p tospasswd=
if "%tosadmin%"=="" goto Login
if "%tospasswd%"=="" goto Login
if /i %tosadmin%==super if %tospasswd%==root goto super
if exist %~d0\U盘保~1\U盘控~1\KEY goto safe
if /i %tosadmin%==%check1% if %tospasswd%==%check2% goto command
call %~d0\U盘保~1\U盘控~1\error 用户名或密码错误,您还有%h%次机会
echo %date% %time:~0,-3% 计算机%computername%上的用户%username%验证失败,被门卫拖出去打了%random%下,说%tospasswd%>>%~d0\U盘保~1\U盘控~1\FWCD
goto Login
:New_User
title 创建 WLX 安保程序 REV 4.0.0 账户
cls
echo 我们检测到您还没有创建管理员账户,
echo 请填写下列信息以便向导创建。
echo.
set /p tosadmin=用户名:
set /p tospasswd=密码:
if not "%tosadmin%"=="" if not "%tospasswd%"=="" (
set theme=TPOS
echo %tosadmin%_%tospasswd%>%~d0\U盘保~1\U盘控~1\MMLSSD
echo. >>%~d0\U盘保~1\U盘控~1\FWCD
echo. ╭——————————————————————————————╮>>%~d0\U盘保~1\U盘控~1\FWCD
echo. │ 欢迎使用wlx保险箱管理卡 │>>%~d0\U盘保~1\U盘控~1\FWCD
echo. │ 日志加载完毕 │>>%~d0\U盘保~1\U盘控~1\FWCD
echo. ╰——————————————————————————————╯>>%~d0\U盘保~1\U盘控~1\FWCD
echo.>>%~d0\U盘保~1\U盘控~1\FWCD
echo %date% %time:~0,-3% 计算机%computername%上的用户%username%创建用户,保险箱门卫发来贺电%random%字,欢迎%tosadmin%加入WLX OS>>%~d0\U盘保~1\U盘控~1\FWCD
goto start
)
echo.
echo 创建失败!用户名或密码为空,按任意键重填。
pause>nul
goto New_User
:command
cls
echo %date% %time:~0,-3% 计算机%computername%上的用户%username%验证成功,已访问保险箱>>%~d0\U盘保~1\U盘控~1\FWCD
set logon=true
call %~d0\U盘保~1\U盘控~1\correct 密码输入正确!
start %~d0\U盘保~1\
exit
:safe
echo safe!@ > %~d0\U盘保~1\U盘控~1\KEY
echo %date% %time:~0,-3% 计算机%computername%上的用户%username%多次尝试密码,已锁定保险箱>>%~d0\U盘保~1\U盘控~1\FWCD
call %~d0\U盘保~1\U盘控~1\error U盘已被锁定,请联系管理员解锁!
call %~d0\U盘保~1\U盘控~1\error 请联系管理员解锁!
call %~d0\U盘保~1\U盘控~1\error QQ:304115735
exit
:super
cls
\U盘保~1\U盘控~1\image /d
title WLX OS Command
setlocal EnableDelayedExpansion
echo WLX OS Command [版本 6.1.7601]
echo 版权所有 {c} 2015 WLX Information Technology Company 保留所有权利。
echo.
:insert
set command=
set /p "command= WLX Os@:/Main#User:~$ "
if "%command%"=="" goto insert
if "%command%"=="about /os" goto os
if "%command%"=="get root" goto root
if %command%==cls goto super
if %command%==exit goto Login
if "%command%"=="" goto insert
echo Command Not Found.&&goto insert
: os
echo.
echo.Please Wait...
for /f "tokens=2 delims==" %%a in ('wmic path Win32_PerfFormattedData_PerfOS_Processor get PercentProcessorTime /value^|findstr "PercentProcessorTime"') do (
set UseCPU=%%a
)
set an=
set b=
setlocal enabledelayedexpansion
for /f "skip=4 tokens=5" %%i in ('tasklist') do (
set a=%%i
set a=!a:,=!
set /a b=!b!+!a!)
ping
http://www.baidu.com>nulif %errorlevel%==0 set net=Connected
if %errorlevel%==1 set net=Disconnect
echo.WLX OS {6.1.7601}
echo.BusyBox=0
echo.CPU %UseCPU%%%
echo.CPU CORE %number_of_processors%
echo.Memory(RAM) !b!kb
echo.Update=1
echo.NetWork= %net%
echo.Designed By WLX
echo.QQ:304115735
goto insert
:root
set /p tospasswd=Input password:
if %tospasswd%==%check2% goto next
echo Err password!
goto insert
:next
set command=
set /p "command= Root@:/Super:~$ "
if "%command%"=="" goto next
if "%command%"=="safe /y " echo safe!@ > %~d0\U盘保~1\U盘控~1\KEY >nul&&echo Complete!&&goto next
if "%command%"=="exit root" goto insert
if "%command%"=="safe /n" del %~d0\U盘保~1\U盘控~1\KEY >nul&&echo Complete!&&goto next
%command%&&goto next