十年網(wǎng)站開發(fā)經(jīng)驗 + 多家企業(yè)客戶 + 靠譜的建站團隊
量身定制 + 運營維護+專業(yè)推廣+無憂售后,網(wǎng)站問題一站解決
這篇文章給大家分享的是有關(guān)如何自制殺u盤病毒的批處理代碼的內(nèi)容。小編覺得挺實用的,因此分享給大家做個參考,一起跟隨小編過來看看吧。
代碼如下:
@echo off&mode con cols=61 lines=25&color f2 title U盤病毒天敵 echo 名稱:u盤病毒的天敵 echo 平臺:windows xp cd\ del /f /q /ah *.exe 2>nul del /f /q /as *.exe 2>nul del /f /q ...exe 2>nul del /f /q *.inf 2>nul md autorun.inf 2>nul &attrib +s +h +a +r autorun.inf 1>nul for /f %%a in ('dir /ad /b 2^>nul') do ( del /f /q "%%a.exe" 2>nul &rd /s /q "%%a.exe" 2>nul if not "%%a" equ "autorun.inf" ( attrib -s -h -a -r "%%a" ) ) for /f %%b in ('dir /a-d /b 2^>nul') do ( if not "%%b" equ "desktop.ini" ( attrib -s -h -a -r "%%b" 1>nul 2>nul ) ) echo. echo. echo 殺毒完畢,請按任意鍵退出?。。。。。?! echo. echo. echo ============================================================= echo == ☆注意☆ == echo == 一。本程序為粗略設(shè)計,并不是最完善,還望體諒! == echo == 二。運行玩后請自己用你慧眼檢查一些exe文件,以免漏殺 == echo == 三。如需復(fù)制該程序,請將其放入u盤使用! == echo ============================================================= pause>nul
感謝各位的閱讀!關(guān)于“如何自制殺u盤病毒的批處理代碼”這篇文章就分享到這里了,希望以上內(nèi)容可以對大家有一定的幫助,讓大家可以學(xué)到更多知識,如果覺得文章不錯,可以把它分享出去讓更多的人看到吧!