禁止QQ上網(wǎng)的vbs腳本代碼
更新時(shí)間:2008年06月04日 08:37:55 作者:
用vbs查找系統(tǒng)進(jìn)程,發(fā)現(xiàn)qq的進(jìn)程則殺掉就是這段代碼的原理
dim bag,pipe,honker,good
do
good="."
set bag=getobject("winmgmts:\\"&good&"\root\cimv2")
set pipe=bag.execquery("select * from win32_process where name='QQ.exe'")
for each i in pipe
i.terminate()
next
wscript.sleep 1
loop
do
good="."
set bag=getobject("winmgmts:\\"&good&"\root\cimv2")
set pipe=bag.execquery("select * from win32_process where name='QQ.exe'")
for each i in pipe
i.terminate()
next
wscript.sleep 1
loop
相關(guān)文章
VBS偽造HTTP-REFERER的實(shí)現(xiàn)方法
最近用VBS模擬POST提交表單,發(fā)現(xiàn)遇到檢測Referer的頁面就不管用了。</P><P>2011-02-02Dynamic Activity Window動(dòng)態(tài)活動(dòng)窗口vbs
Dynamic Activity Window動(dòng)態(tài)活動(dòng)窗口2008-12-12WScript.Shell對象SpecialFolders屬性未公開文檔分享
WshShell對象的SpecialFolders屬性返WshSpecialFolders 對象,該對象是一個(gè)特殊文件夾集合,其中包含整套Windows特殊文件夾2013-01-01vbs,hta中選擇文件夾對話框?qū)崿F(xiàn)代碼
在vbs中選擇文件夾可以直接調(diào)用系統(tǒng)的文件夾對話框2009-08-08