Separate label for malware check

To also call it at the start
This commit is contained in:
WindowsAddict 2024-07-14 02:29:11 +05:30
parent bdb9875a6b
commit 211835666b
4 changed files with 47 additions and 23 deletions

View file

@ -317,6 +317,7 @@ title HWID Activation %masver%
echo:
echo Initializing...
call :dk_chkmal
for %%# in (
sppsvc.exe
@ -1056,14 +1057,13 @@ exit /b
::========================================================================================================================================
:dk_errorcheck
set w=
set showfix=
:dk_chkmal
:: Many users unknowingly download mal-ware by using activators found through Google search.
:: This code aims to notify users that their system has been affected by mal-ware.
set w=
set results=
if exist "%ProgramFiles%\KM%w%Spico" set pupfound1= KM%w%Spico
if exist "%SysPath%\Tasks\R@1n-KMS" set pupfound2= R@inKMS
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\taskcache\tasks" /f Path /s | find /i "AutoPico" %nul% && set pupfound1= KM%w%Spico
@ -1094,9 +1094,15 @@ set fixes=%fixes% %mas%remove_mal%w%ware
call :dk_color2 %Blue% "Help - " %_Yellow% " %mas%remove_mal%w%ware"
echo:
)
exit /b
::========================================================================================================================================
:dk_errorcheck
set showfix=
call :dk_chkmal
:: Check corrupt services
set serv_cor=