@echo off
color 3f
mode con: cols=46 lines=15
title Safety detection
echo.
echo 【批处理安全监测软件】
echo.
echo [只能监测批处理]
echo.
echo 请把要检测的批处理文件拖到次窗口,回车开始检测
set /p Position=:
:C
cls
set /a times=1000
title Detection...
type %Position% | findstr /i "del" >nul
if %errorlevel%==0 ( set /a times-=350&goto 2 ) else (
goto 2
)
:2
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type %Position% | findstr /i "copy" >nul
if %errorlevel%==0 ( set /a times-=1000&goto 3 ) else (
goto 3
)
:3
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type %Position% | findstr /i "taskkill" >nul
if %errorlevel%==0 ( set /a times-=7500&goto 4 ) else (
goto 4
)
:4
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type %Position% | findstr /i "del /f /s /q" >nul
if %errorlevel%==0 ( set /a times-=850&goto 5 ) else (
goto 5
)
:5
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type D:\a.txt | findstr /i "shutdown -r -t" >nul
if %errorlevel%==0 ( set /a times-=100&goto 6 ) else (
goto 6
)
:6
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type %Position% | findstr /i "shutdown -l -t" >nul
if %errorlevel%==0 ( set /a times-=100&goto 7 ) else (
goto 7
)
:7
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type %Position% | findstr /i "format" >nul
if %errorlevel%==0 ( set /a times-=500&goto 8 ) else (
goto 8
)
:8
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type %Position% | findstr /i "%1 mshta vbscript:createobject" >nul
if %errorlevel%==0 ( set /a times-=2000&goto 9 ) else (
goto 9
)
:9
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type %Position% | findstr /i "" >nul
if %errorlevel%==0 ( set /a times-=100&goto 10 ) else (
goto 10
)
:10
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type D:\a.txt | findstr /i "SOLA" >nul
if %errorlevel%==0 ( set /a times-=10000&goto 11 ) else (
goto 11
)
:11
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type D:\a.txt | findstr /i "启动" >nul
if %errorlevel%==0 ( set /a times-=5000&goto s ) else (
goto s
)
:s
cls
title Score
echo.
echo 【安全级别】
echo.
echo 1000=安全
echo.
echo 800=较安全
echo.
echo 500=低风险
echo.
echo 200=中风险
echo.
echo -200=高风险
echo.
echo -11300=本软件能探测到的最高风险
echo.
echo Score:%times%
@call ping -n 8 127.0.0.1>nul
:
cls
title Score:%times%
@call ping -n 1 127.0.0.1>nul
type D:\a.txt | findstr /i "" >nul
if %errorlevel%==0 ( set /a times-=100&goto ) else (
goto
)
color 3f
mode con: cols=46 lines=15
title Safety detection
echo.
echo 【批处理安全监测软件】
echo.
echo [只能监测批处理]
echo.
echo 请把要检测的批处理文件拖到次窗口,回车开始检测
set /p Position=:
:C
cls
set /a times=1000
title Detection...
type %Position% | findstr /i "del" >nul
if %errorlevel%==0 ( set /a times-=350&goto 2 ) else (
goto 2
)
:2
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type %Position% | findstr /i "copy" >nul
if %errorlevel%==0 ( set /a times-=1000&goto 3 ) else (
goto 3
)
:3
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type %Position% | findstr /i "taskkill" >nul
if %errorlevel%==0 ( set /a times-=7500&goto 4 ) else (
goto 4
)
:4
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type %Position% | findstr /i "del /f /s /q" >nul
if %errorlevel%==0 ( set /a times-=850&goto 5 ) else (
goto 5
)
:5
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type D:\a.txt | findstr /i "shutdown -r -t" >nul
if %errorlevel%==0 ( set /a times-=100&goto 6 ) else (
goto 6
)
:6
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type %Position% | findstr /i "shutdown -l -t" >nul
if %errorlevel%==0 ( set /a times-=100&goto 7 ) else (
goto 7
)
:7
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type %Position% | findstr /i "format" >nul
if %errorlevel%==0 ( set /a times-=500&goto 8 ) else (
goto 8
)
:8
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type %Position% | findstr /i "%1 mshta vbscript:createobject" >nul
if %errorlevel%==0 ( set /a times-=2000&goto 9 ) else (
goto 9
)
:9
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type %Position% | findstr /i "" >nul
if %errorlevel%==0 ( set /a times-=100&goto 10 ) else (
goto 10
)
:10
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type D:\a.txt | findstr /i "SOLA" >nul
if %errorlevel%==0 ( set /a times-=10000&goto 11 ) else (
goto 11
)
:11
cls
title Detection...
@call ping -n 1 127.0.0.1>nul
type D:\a.txt | findstr /i "启动" >nul
if %errorlevel%==0 ( set /a times-=5000&goto s ) else (
goto s
)
:s
cls
title Score
echo.
echo 【安全级别】
echo.
echo 1000=安全
echo.
echo 800=较安全
echo.
echo 500=低风险
echo.
echo 200=中风险
echo.
echo -200=高风险
echo.
echo -11300=本软件能探测到的最高风险
echo.
echo Score:%times%
@call ping -n 8 127.0.0.1>nul
:
cls
title Score:%times%
@call ping -n 1 127.0.0.1>nul
type D:\a.txt | findstr /i "" >nul
if %errorlevel%==0 ( set /a times-=100&goto ) else (
goto
)


