Remove duplicacy of file infector checks

This commit is contained in:
WindowsAddict 2024-07-17 03:54:38 +05:30
parent 6f88a4bf90
commit 962f7e326a
4 changed files with 0 additions and 36 deletions

View File

@ -994,7 +994,6 @@ exit /b
:dk_sppissue :dk_sppissue
set w=
sc start sppsvc %nul% sc start sppsvc %nul%
set spperror=%errorlevel% set spperror=%errorlevel%
@ -1003,14 +1002,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
echo sc start sppsvc [Error Code: %spperror%] echo sc start sppsvc [Error Code: %spperror%]
) )
echo "%spperror%" | findstr "577 225" %nul% && (
echo:
echo Your system is most likely infected with Mal%w%ware.
echo:
set fixes=%fixes% %mas%remove_mal%w%ware
call :dk_color2 %Blue% "Help - " %_Yellow% " %mas%remove_mal%w%ware"
)
echo: echo:
%psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 20)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}" %psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 20)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}"
exit /b exit /b

View File

@ -1087,7 +1087,6 @@ exit /b
:dk_sppissue :dk_sppissue
set w=
sc start sppsvc %nul% sc start sppsvc %nul%
set spperror=%errorlevel% set spperror=%errorlevel%
@ -1096,14 +1095,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
echo sc start sppsvc [Error Code: %spperror%] echo sc start sppsvc [Error Code: %spperror%]
) )
echo "%spperror%" | findstr "577 225" %nul% && (
echo:
echo Your system is most likely infected with Mal%w%ware.
echo:
set fixes=%fixes% %mas%remove_mal%w%ware
call :dk_color2 %Blue% "Help - " %_Yellow% " %mas%remove_mal%w%ware"
)
echo: echo:
%psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 20)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}" %psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 20)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}"
exit /b exit /b

View File

@ -1460,7 +1460,6 @@ exit /b
:dk_sppissue :dk_sppissue
set w=
sc start sppsvc %nul% sc start sppsvc %nul%
set spperror=%errorlevel% set spperror=%errorlevel%
@ -1469,14 +1468,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
echo sc start sppsvc [Error Code: %spperror%] echo sc start sppsvc [Error Code: %spperror%]
) )
echo "%spperror%" | findstr "577 225" %nul% && (
echo:
echo Your system is most likely infected with Mal%w%ware.
echo:
set fixes=%fixes% %mas%remove_mal%w%ware
call :dk_color2 %Blue% "Help - " %_Yellow% " %mas%remove_mal%w%ware"
)
echo: echo:
%psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 20)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}" %psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 20)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}"
exit /b exit /b

View File

@ -2400,7 +2400,6 @@ exit /b
:dk_sppissue :dk_sppissue
set w=
sc start sppsvc %nul% sc start sppsvc %nul%
set spperror=%errorlevel% set spperror=%errorlevel%
@ -2409,14 +2408,6 @@ if %spperror% NEQ 1056 if %spperror% NEQ 0 (
echo sc start sppsvc [Error Code: %spperror%] echo sc start sppsvc [Error Code: %spperror%]
) )
echo "%spperror%" | findstr "577 225" %nul% && (
echo:
echo Your system is most likely infected with Mal%w%ware.
echo:
set fixes=%fixes% %mas%remove_mal%w%ware
call :dk_color2 %Blue% "Help - " %_Yellow% " %mas%remove_mal%w%ware"
)
echo: echo:
%psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 20)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}" %psc% "$job = Start-Job { (Get-WmiObject -Query 'SELECT * FROM %sps%').Version }; if (-not (Wait-Job $job -Timeout 20)) {write-host 'sppsvc is not working correctly. Help - %mas%troubleshoot'}"
exit /b exit /b