Quita Virus USB
mcriozz23 de Mayo de 2015
879 Palabras (4 Páginas)323 Visitas
@echo off
title QUITA VIRUS USB
color A
Echo.
Echo UNIVERSIDAD TECNOLOGIGA DE LA HUASTECA HIDALGUENSE"
Echo "HECHO EN MANTENIMIENTO DE TIC"
Echo *****************************************
Echo CREADO POR: PETRA CRUZ GALINDO
Echo.
Echo El nombre de usuario de su computadora es: %USERNAME%
Echo.
Echo ESPERE MIENTRAS SE ELIMINAN VIRUS DE SU MEMORIA USB Y SE DESOCULTAN LAS CARPETAS
Echo -------------
Echo.
Echo.
Echo ESPERE UN MOMENTO %USERNAME%, NO SE DESESPERE, SE ESTAN EXAMINANDO LAS
Echo CARPETAS DE SU MEMORIA USB PUEDE QUE TARDE UN POCO DEPENDIENDO DEL TAMANIO.
if exist "C:\WINDOWS\system32\windows.cmd" TASKKILL /F /im windows.cmd
if exist "C:\WINDOWS\system32\windows.cmd" DEL /f windows.cmd
attrib /s /d -h -r -s -a
if exist *.exe FOR /R %%a IN (*.exe) DO if %%~za LSS 345000 taskkill /F /im "%%~nxa"
if exist autorun.inf taskkill /F /im autorun.inf
if exist *.lnk del *.lnk
if exist windows.cmd del windows.cmd
if exist x.mpeg del x.mpeg
if exist *.exe FOR /R %%a IN (*.exe) DO IF %%~za LSS 500000 (DEL "%%a"
echo Se elimino correctamente el archivo infectado: "%%~nxa")
Echo.
Echo.
Echo.
Echo.
if exist "C:\Documents and Settings\%USERNAME%\" attrib /s -r -s -a -h "C:\Documents and Settings\%USERNAME%\*.exe"
if exist "C:\users\%USERNAME%\" attrib /s -r -s -a -h "C:\users\%USERNAME%\*.exe"
if exist "C:\Documents and Settings\%USERNAME%\" FOR /R "C:\Documents and Settings\%USERNAME%\" %%a IN (*.exe) DO IF %%~za LSS 345000 TASKKILL /F /im "%%~nxa"
if exist "C:\users\%USERNAME%\" FOR /R "C:\users\%USERNAME%\" %%a IN (*.exe) DO if %%~za LSS 345000 taskkill /F /im "%%~nxa"
if exist "C:\Documents and Settings\%USERNAME%\" if exist "C:\Documents and Settings\%USERNAME%\*.exe" attrib -r -s -a -h "C:\Documents and Settings\%USERNAME%\*.exe"
if exist "C:\users\%USERNAME%\" if exist "C:\users\%USERNAME%\*.exe" attrib -r -s -a -h "C:\users\%USERNAME%\*.exe"
if exist "C:\Documents and Settings\%USERNAME%\" FOR /R "C:\Documents and Settings\%USERNAME%\" %%a IN (*.exe) DO IF %%~za LSS 345000 (DEL /f "%%a"
echo Se elimino correctamente el archivo infectado: "%%~nxa")
if exist "C:\users\%USERNAME%\" FOR /R "C:\users\%USERNAME%\" %%a IN (*.exe) DO IF %%~za LSS 345000 (DEL /f "%%a"
echo Se elimino correctamente el archivo infectado: "%%~nxa")
if exist autorun.inf del autorun.inf
if exist "\recycler" rd /s /q "\recycler"
Echo.
Echo.
@pause
Echo ...
Echo.
Echo.
Echo GRACIAS POR UTILIZAR ESTE SCRIPT, AYUDE A PREVENIR LA PROPAGACION DE
Echo CODIGO MALICIOSO COMPARTIENDO ESTE SCRIPT
Echo.
Echo.
Echo ¶¶¶¶ ¶¶¶¶ ¶¶¶¶¶¶¶¶¶¶¶¶¶¶ ¶¶¶¶ ¶¶¶¶ ¶¶¶¶ ¶¶¶¶
Echo ¶¶¶¶ ¶¶¶¶ ¶¶¶¶¶¶¶¶¶¶¶¶¶¶ ¶¶¶¶ ¶¶¶¶ ¶¶¶¶ ¶¶¶¶
Echo ¶¶¶¶ ¶¶¶¶ ¶¶¶¶ ¶¶¶¶ ¶¶¶¶ ¶¶¶¶ ¶¶¶¶
Echo ¶¶¶¶ ¶¶¶¶ ¶¶¶¶ ¶¶¶¶¶¶¶¶¶¶¶ ¶¶¶¶¶¶¶¶¶¶¶
...