In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly shows you "how to realize McAfee manual antivirus script in batch processing". The content is simple and easy to understand, and the organization is clear. I hope it can help you solve your doubts. Let Xiaobian lead you to study and learn this article "how to realize McAfee manual antivirus script in batch processing".
This script uses McAfee's SupperDat to kill viruses on your computer. Use FLASHGET to check SupperDat updates, ref: blog.csdn.net/scz123/archive/2006/11/02/1362573.aspx
20061215: Modify scan.exe run parameters to add/PROGRAM (scan for malware),/NORENAME (do not change file name).
MCAFEE Command Line Reference Manual: scz123.googlepages.com/Mcafee5100wpg.pdf
--------------------------------------------------------------------------------
1. Run scripts using local MCAFEE SUPERDAT
--------------------------------------------------------------------------------
@echo off
echo McAfee Manual Antivirus Script
echo created by scz 20061101
echo =================================================
echo It is recommended that you run this script in an administrator environment in order to successfully kill the virus
echo =================================================
rem This script requires McAfee SupperDat to run, download at www.mcafee.com/apps/downloads/security_updates/superdat.asp? region=cn&segment=enterprise
rem SupperDat After download, please rename to McAfee*.exe(* is any character)
if not exist mcafee*.exe (echo virus code does not exist, unable to perform the next step, press any key to exit... &goto error)
echo is releasing virus code...
for /f "skip=1" %%i in ('dir mcafee*.exe /o-d /b 2^>nul') do (del %%i)
for /f %%i in ('dir mcafee*.exe /b /o-d') do (%%i /e c:\Mcafee & goto start)
:start
echo Start scanning...
echo @echo off >c:\mcafee\antivirus.bat
echo echo. >>c:\mcafee\antivirus.bat
============================================
echo echo McAfee manual antivirus script, automatically opens report after scanning>>c:\mcafee\antivirus.bat
echo echo created by scz 20061031 >>c:\mcafee\toxicide.bat
============================================
echo set filename=%%date:-=%%.%% time::=%%.html >>c:\mcafee\antivirus.bat
echo cd /d c:\mcafee >>c:\mcafee\toxicide.bat
echo REM Keep the last 10 reports>>c:\mcafee\antivirus.bat
echo for /f "skip=10" %%%%i in ('dir *.html /o-d /b 2^^>nul') do (del %%%i) >>c:\mcafee\detoxification.bat
echo scan /ADL /ANALYZE /PROGRAM /CLEAN /NORENAME /TIMEOUT 15 /WINMEM /HTML "%%filename%%" >>c:\mcafee\toxicide.bat
echo echo Virus scanning completed, press any key to open the report... >>c:\mcafee\antivirus.bat
echo if exist "%%filename%%" start " "%filename%%" >>c:\mcafee\toxicide.bat
cd /d c:\mcafee
start "McAfee VirusScan" cmd /c Antivirus.bat
goto end
:error
pause >nul
:end
--------------------------------------------------------------------------------
2. Scripts run using MCAFEE SUPERDAT shared on the local area network
--------------------------------------------------------------------------------
@echo off
echo McAfee Manual Antivirus Script
echo created by scz 20061101
echo =================================================
echo It is recommended that you run this script in an administrator environment in order to successfully kill the virus
echo =================================================
rem This script requires McAfee SupperDat to run, download at www.mcafee.com/apps/downloads/security_updates/superdat.asp? region=cn&segment=enterprise
rem SupperDat After download, please rename to McAfee*.exe(* is any character)
echo Connecting to remote computer (scz)...
net use \\10.1.103.10 /user:scz\sczscz sczscz >nul 2>&1
net use x: /del /y >nul 2>&1
net use x: \\10.1.103.10\update >nul 2>&1 ||(echo network exception, unable to perform the next operation, press any key to exit...) &goto error)
cd /d x:\
if not exist mcafee*.exe (echo virus code does not exist, unable to execute the next step, press any key to exit... &goto error)
echo is releasing virus code...
for /f %%i in ('dir mcafee*.exe /b /o-d 2^>nul') do (%%i /e c:\Mcafee & goto start)
:start
net use x: /del /y >nul 2>&1
net use \\10.1.103.10 /del /y >nul 2>&1
echo Start scanning...
echo @echo off >c:\mcafee\antivirus.bat
echo echo. >>c:\mcafee\antivirus.bat
============================================
echo echo McAfee manual antivirus script, automatically opens report after scanning>>c:\mcafee\antivirus.bat
echo echo created by scz 20061031 >>c:\mcafee\toxicide.bat
============================================
echo set filename=%%date:-=%%.%% time::=%%.html >>c:\mcafee\antivirus.bat
echo cd /d c:\mcafee >>c:\mcafee\toxicide.bat
echo REM Keep the last 10 reports>>c:\mcafee\antivirus.bat
echo for /f "skip=10" %%%%i in ('dir *.html /o-d /b 2^^>nul') do (del %%%i) >>c:\mcafee\detoxification.bat
echo scan /ADL /ANALYZE /CLEAN /TIMEOUT 15 /WINMEM /HTML "%%filename%%" >>c:\mcafee\toxicide.bat
echo echo Virus scanning completed, press any key to open the report... >>c:\mcafee\antivirus.bat
rem echo pause ^>nul >>c:\mcafee\antivirus.bat
echo if exist "%%filename%%" start " "%filename%%" >>c:\mcafee\toxicide.bat
cd /d c:\mcafee
start "McAfee VirusScan" cmd /c Antivirus.bat
goto end
:error
pause >nul
:end
The above is "batch processing how to implement McAfee manual antivirus script" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.