分类:程序 WshShell 对象 ProgID Wscript.Shell 文件名 WSHom.Ocx CLSID F935DC22-1CF0-11d0-ADB9-00C04FD58A0B IID F935DC21-1CF0-11d0-ADB9-00C04FD58A0B 下表说明和 WshShell 对象有关的属性. 属性 说明 Environment 返回 WshEnvironment 集合对象. SpecialFolders 使用 WshSpecialFolders 对象提供对 Windo
wscript shell, 对象详细介绍!!特好的东西March 27
在windows2000下,IIS默认设置是可以web和可执行程序通信的.但是在2003下IIS关于这方面的服务是禁止的. 在windows2000下,IIS默认设置是可以web和可执行程序通信的.但是在2003下IIS关于这方面的服务是禁止的. 我现在遇到的问题是,利用web和一个带参数的可执行程序连接.并运行这个带参赛的可执行程序. 在windows2003下用asp中的Server.CreateObject("WScript.Shell") 运行没有出现错误,但是并没有执行. 但
wscript shell, windows2003March 1
最简单的办法是直接卸载后删除相应的程序文件. 将下面的代码保存为一个.BAT文件,( 以下均以 WIN2000 为例,如果使用2003,则系统文件夹应该是 C:\WINDOWS\ ) regsvr32/u C:\WINNT\System32\wshom.ocx del C:\WINNT\System32\wshom.ocx regsvr32/u C:\WINNT\system32\shell32.dll del C:\WINNT\system32\shell32.dll 然后运行一下,WScri
wscript shellDecember 18
这篇文章主要介绍了Js使用WScript.Shell对象执行.bat文件和cmd命令,需要的朋友可以参考下 WScript.Shell(Windows Script Host Runtime Library)是一个对象,对应的文件是C:/WINDOWS/system32/wshom.ocx,Wscript.shell是服务器系统会用到的一种组件.shell 就是"壳"的意思,这个对象可以执行操作系统外壳常用的操作,比如运行程序.读写注册表.环境变量等.这个对象通常被用在VB或VBS编程
wscript shell, CMD命令, bat文件September 10
WScript.Shell对象提供了run和exec两个方法,最近项目中需要在vbscript脚本中用pscp从linux服务器上copy文件.本来使用了exec方法,以下代码 Set exeRs = objws.Exec("pscp -r -scp -pw " & password & " " & loginid & "@" & host & ":" & data_pa
exec, wscript shell, VBScript, runMay 28
ASP.NET下有自己的执行CMD命令的方式,这里用WScript.Shell似有画蛇添足之嫌,但是我们也不能排除真的有机器禁用了.NET的相关类,未雨绸缪嘛.当然也不仅仅局限于WScript.Shell,只要是ASP中能用的组件,统统都可以用于ASP.NET中,而且还更方便! ASP.NET提供了两种方法让我们使用COM组件:1.Server对象的CreatObject方法:2.将COM组件转化为.NET组件. ·Server对象的CreatObject方法 这个方法比较简单,直接使用就是.当
wscript shell, asp.net, 执行命令May 24
WshShell对象的SpecialFolders属性返WshSpecialFolders 对象,该对象是一个特殊文件夹集合,其中包含整套Windows特殊文件夹 特殊文件夹名称用于索引该集合以检索所需的特殊文件夹,文档中列出了下面的特殊文件夹: AllUsersDesktop AllUsersStartMenu AllUsersPrograms AllUsersStartup Desktop Favorites Fonts MyDocuments NetHood PrintHood Progr
wscript shell, 未公开May 6
利用WScript.Shell对象隐藏cmd命令行运行 1. WScript.Shell(Windows Script Host Runtime Library)是一个对象,对应的文件是C:\WINDOWS\system32\wshom.ocx,Wscript.shell是服务器系统会用到的一种组件.shell 就是"壳"的意思,这个对象可以执行操作系统外壳常用的操作,比如运行程序.读写注册表.环境变量等.这个对象通常被用在VB或VBS编程中. 2. 安装WScript.Shell对象
wscript shell, 隐藏, cmd命令行November 25
WScript.Shell 调用注册表和应用程序. 注意:: 如果调用不成功,除了安全性因素之外,可能是应用程序出错.自己写的代码就是如此,调用系统的记事本没有问题.但是调用自己的程序时就发现程序不能运行,一直找原因,甚至以为是Wscript.shell的问题,结果最终发现是自己程序的问题. 代码如下: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR
wscript shell, JavaScript, 运行应用程序, 调用注册表June 20
Modify environment variables, and immediately the VBS code. http://www.cnblogs.com/shanyou/archive/2008/12/05/1348649.html Set pSysEnv = CreateObject("WScript.Shell").Environment("System") 'Check whether a character string matches a re
lt, amp, character string, len, environment variable, regexp, regular expression, environment system, wscript shell, shell environment, system environment variables, pvalue, mailaddress, setenv, common library, tofJune 22
//Js Trigger button events var WsShell = new ActiveXObject("WScript.Shell"); WsShell.SendKeys("{F11}"); // Window size change events window.onresize=function(){ if(document.documentElement.clientHeight < document.documentElement.off
lt, new activexobject, offsetheight, wscript shellMay 24
I want to open QQ login interface and double click to run the batch will automatically enter my username and password QQ VBS keyboard with a simulation can not Set WshShell = WScript.CreateObject ("WScript.Shell") WshShell.Exec "C: \ Progra
qq, double click, exec, sleep, keyboard, c program, simulation, batch file, wscript shell, login interface, wshshell, sendkeysMarch 28
Activex security settings through the web page modify, add trusted sites, disable pop-up blocker registry key trusted sites HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Internet Settings \ ZoneMap \ Ranges \ Range [*] ActiveX
quot quot, current user, script language, plug ins, new activexobject, internet explorer, dword, security settings, software microsoft, activex controls, wscript shell, user software, internet settings, registry key, local intranet zone, internet zone, registry entries, restricted sites zone, zonemap ranges, zone 3December 30
index.html <html> <head> <script type="text/javascript"> // Achieve full screen function Fkey(){ var WsShell = new ActiveXObject('WScript.Shell') WsShell.SendKeys('{F11}'); } // Determine the browser type var Sys = {}; var ua =
lt, script type, text javascript, new activexobject, safari, document body, b0, b6, 2f 2f, 9b, a8, 8a, 7d, wscript shell, 8b, e9, 8c, b8, body style, e7December 26
<style> <!-- body, table, p, td, div,select { font:menu} .button {boder:0; HEIGHT: 19px;width:66px;cursor:hand;font:menu;border-left-width:1; border-left-color:#000000; border-bottom-width:1; border-bottom-color:#000000; border-right-width:1; bor
lt, script language, language javascript, notepad, new activexobject, color 000000, background color, color ffffff, input name, e8, menu button, 3b, bottom width, wscript shell, 1069, bottom color, e7, oe, wmplayer, menu borderDecember 20
// Print js function preview() { bdhtml=window.document.body.innerHTML; sprnstr="<!--startprint-->"; eprnstr="<!--endprint-->"; prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17); prnhtml=prnhtml.substring(0,prnhtml.indexOf(
lt, current user, new activexobject, microsoft, document body, internet explorer, substr, substring, software microsoft, indexof, footer, wscript shell, path softwareDecember 14
For example: Analog press F11, full-screen browser to full screen or cancel Have two js by Google var WshShell = new ActiveXObject('WScript.Shell'); WshShell.SendKeys('{F11}');
google, new activexobject, wscript shell, key press, screen browser, wshshell, sendkeys, analog pressDecember 8
1: Tools for swftools.exe Download http://www.swftools.org/download.html Install to D drive SWFTools offers a variety of files into swf to tool: font2swf.exe gif2swf.exe jpeg2swf.exe pdf2swf.exe png2swf.exe wav2swf.exe Here we use only pdf2swf.exe fl
script type, text javascript, google, js, swfobject, swf, string path, exec cmd, wscript shell, java example, flash version, d drive, code templates, c command, string command, development environments, swftools, gif2swf, wshshell, flashversionNovember 17
Let AIR program from the Adobe AIR runtime environment, the Internet is already a lot. Mainly refer to http://hi.baidu.com/fsnhf/blog/item/252dba0e1eaa64c07bcbe110.html Main steps here is the same URL as above: 1. Will be packaged with the rar extrac
implementation, map, meta, notepad, test directory, c test, runtime environment, wscript shell, rar, exe files, file folders, adobe flash, adobe adobe, test air, adl, air 3, time air, bat2exeNovember 4
/ / Get machine name, logon domain and logon user name function getusername () { var WshNetwork = new ActiveXObject ("WScript.Network"); alert ("Domain =" + WshNetwork.UserDomain); alert ("Computer Name =" + WshNetwork.Comput
parameters, quot quot, new activexobject, microsoft, microsoft windows, serial number, system directory, software microsoft, scripting, free space, wscript shell, computer name, filesystemobject, machine software, calculator function, serialnumber, windir, regread, freespace, directory functionOctober 14
JavaScript's method does not allow duplicate names, the form can not be achieved Java method overloading, but there is heavy demand by the method in which, by determining the parameter type, number of parameters (presence), the parameters of the orde
lt, implementation, parameters, current user, new activexobject, microsoft, document body, presence, internet explorer, java method, software microsoft, footer, wscript shell, parameter type, top bottom, jsp2, path softwareOctober 13
Techniques frequently used javaScript code (Classic) / / Get the network printer function getnetprinter () (Powered by 25175.net var obj = new ActiveXObject ("WScript.network"); var netprinter = obj.EnumPrinterConnections (); for (i = 0; i <n
quot quot, new activexobject, microsoft windows, serial number, system directory, software microsoft, free space, wscript shell, filesystemobject, machine software, calculator function, serialnumber, network printer, freespace, directory function, classical techniqueSeptember 18
Answer: This question http://www.javaeye.com/problems/48046 Transfer from: http://www.blueshop.com.tw/board/show.asp?subcde=BRD20061014093911FUN&fumcde=FUM20041006152641OLG wsh=new ActiveXObject("WScript.Shell"); fso=new ActiveXObject("
new activexobject, wscript shell, opentextfile, createtextfileSeptember 14
Online search for a long time and no complete solution. These methods need to be added to the trusted sites or discharge unsigned ActiveX controls to Disable 1. Simulated keyboard input method: lack of places that do not support Chinese <input Type=&qu
code lt, script language, language javascript, new activexobject, security considerations, input name, file upload, input method, wscript shell, keyboard input, terrible thing, automatic assignment, shell control, cursor control, sdfs, malicious web, shell function, sendkeys, machine god, confidential documentsSeptember 6
The following is the first method, more complicated: <html> <script type="text/javascript"> function test(){ var WshShell =new ActiveXObject("WScript.Shell"); //fso As FileSystemObject; //f For the Folder object ; //fc Enum
lt, script type, text javascript, new activexobject, type button, documents and settings, c documents, f1, file extensions, path c, getfile, wscript shell, input value, filesystemobject, fso, local settings, atend, shell username, getfolderAugust 18
for infected html files like: <SCRIPT Language="VBScript"> <! - DropFileName = "svchost.exe" WriteData = "4D5A90000300000004000000FFFF0000B8000000 / / very long here ... Set FSO = CreateObject ("Scripting.FileSystemO
lt, amp, quot quot, script language, len, java jar, step 2, scripting, html files, wscript shell, fileexists, svchost exe, createtextfile, wshshell, clng, malware removerAugust 9
Cause Using MoinMoin Desktop Edition has been for some time, had to run every boot wikiserver.py, but there is always a black box command line, is an eyesore. After another in a long while, finally get rid of black frame, so wikiserver.py running in
amp, principle, window application, wscript shell, py, option one, desktop edition, shell object, vbs script, vbscript createobject, mshtaJuly 26
Here are two examples, if deployed to TOMCAT in, you can run index.jsp <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transiti
utf 8, script type, new activexobject, button name, printit, button setup, object classid, language java, loose dtd, page language, contenttype, internet explorer, html charset, default function, software microsoft, wscript shell, document frames, open document, frameborder, path softwareJune 30
<! DOCTYPE HTML PUBLIC "- / / W3C / / DTD HTML 4.0 Transitional / / EN"> <HTML> <HEAD> <TITLE> New Document </ TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author&q
lt, script language, meta, new activexobject, doctype html public, wscript shell, shell run, local systemJune 8
Requirements Description: The first pop-up window to do when the bombs will not come out always need to allow ActiveX you can set about, of course, also joined the trust in the best site. First, use js to set, but the js where the page is still have
quot quot, script language, plug ins, pairs, new activexobject, microsoft windows, internet explorer, dword, pop up window, software microsoft, wscript shell, internet settings, registry key, bombs, script activex, pop up blocker, restricted sites zone, internet area, zonemap ranges, zone 3June 7
// Debug function function show(msg) { wsh = new ActiveXObject("WScript.Shell"); wsh.Popup(msg); } // Perform //eval //try { // Debug("dkjkljei"); //} catch (e) { //} /** wsh = new ActiveXObject("WScript.Shell"); Gets the use
amp, path path, environment variables, new activexobject, len, system path, regexp, f1, environment system, wscript shell, filesystemobject, java jdk, wsc, movenext, enumerator, wsh, getfolderJune 5
The Internet to find what file operation code, write down, reserve / * * Run Run files * 1) strPath file path * / function Run (strPath) ( var objShell = new ActiveXObject ("wscript.shell"); objShell.Run (strPath); objShell = null; ) / * * EditF
quot, new activexobject, wscript shell, opentextfile, writelineApril 29
WebBrowser is a built-in IE browser control, without users to download, you can achieve the client page to print. On the use of other components, are listed below: WebBrowser.ExecWB(1,1) Open Web.ExecWB(2,1) Close all IE Windows , And open a new wind
lt, implementation, current user, script language, language javascript, new activexobject, microsoft, abolition, internet explorer, browser control, margins, internet options, software microsoft, footer, wscript shell, top bottom, browser ie, script activex, path software, wshMarch 17
Server-side code: login.sh #!/bin/bash #TVAR=123 #BVAR=456 touch ff.sh echo "#!/bin/bash">>ff.sh echo "/sbin/iptables -F">>ff.sh echo "/sbin/iptables -X">>ff.sh echo "/sbin/iptables -Z">>ff.s
amp, grep, tcp, rf, server side code, sbin, client side scripting, wscript shell, iptables, newport, 7788, port tr, dnat, snat, tvar, ip forwarding, pflag, echo 1, forwarding service, remFebruary 4
ActivexObject generated by javascript to modify the client registry, but only in ie effectively The following is a javascript to modify the registry through the windows Task Manager to disable the examples for your reference Under normal circumstance
lt, doctype, current user, script type, text javascript, w3c, author content, test page, microsoft windows, html page, generator content, name generator, software microsoft, indexof, windows task manager, wscript shell, user software, task manager windows, dword value, reg dwordOctober 7
var WSS = new ActiveXObject("WScript.Shell"); WSS.RegWrite("HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows\\Device","pdfFactory Pro,winspool,FPP2:"); The need is to set up the printer from the cli
current user, new activexobject, microsoft, microsoft windows, software microsoft, wscript shell, winspool, user software, wssJuly 17
Unsafe, but it is funny <script> var shell = new ActiveXObject("WScript.shell"); shell.run("program.exe", 1, true); </script>
lt, new activexobject, wscript shell, shell runSeptember 14
extjs findbyidwhat are the disadvantages of jdbc192.168.1.211 new loginhttp:11192.168.16200 网站365.good6000.co mhttp: www.chinastock.com.cnwaphppt: meimei.meimeiopenrj.KB119861.188.207.212:8088 cngtkwww.you.jiazzhttp: 202.104.32.195:83 s login