脚 本 之 家 www.jb51.net
页面导航:  不限条件-->LL
本地搜索:
今天试了一下,用open也可以。php代码如下,我好像还没有在php的webshell中看到相关方法[code]<?php$wsh=newCOM('Shell.Application')ordie("Shell.Application");$exec=$wsh->open("c:\\windows\\system32\\notepad.exe");//没有回显,多了个notepad进程,可以写一个批处理来运行dos命令。open换用ShellExecute也可。?>[/code]xp+APMServ5.2.0测试通过。...
http://www.jb51.net//article/16679.htm
从页面a.html到页面b.htmla.html[code]<html><head><title>a</title><scriptlanguage="javascript">functioncallBack(){alert("Comeback!");}</script></head><body><ahref="b.html">去b页面</a></body></html>[/code]b.html[code]<html><head>...
http://www.jb51.net//article/16660.htm
[html]<body><divid="aa">123456</div><inputtype="button"value="这里用document就出错"onclick="alert(document.aa.innerText);"/><br/><inputtype="button"value="这里用document.all就不出错"onclick="alert(document.all.aa.innerText);"/></body>[/html]  如果与a,form对象,image对象,applet对象...
http://www.jb51.net//article/16590.htm
例子如下:[code]<script>/***动物*/functionAnimal(){this.name='Amimal';this.showName=function(){alert(this.name);};}/**猫*/functionCat(){this.name='cat';}varanimal=newAnimal;//创建动物对象varcat=newCat;//创建猫对象animal.showName.call(cat,'','');//输出cat,说明showName函数的当前this已经变为cat了animal.showName.apply(cat,[]);//输...
http://www.jb51.net//article/16580.htm
此控件是asp.net中的验证控件RequiredFieldValidator,RangeValidator,RegularExpressionValidator,CompareValidator,CustomValidator,ValidationSummary的错误验证信息呼出的一个扩展控件主要作用是把未通过验证的信息通过一个突出的层显示给用户。主要属性:<ajaxToolkit:ValidatorCalloutExtenderID="ValidatorCalloutExtender1"runat="server"TargetControlID="RequiredFieldValid...
http://www.jb51.net//article/16463.htm
问题是这样的:一张test的表,字符集采用的latin1。selectto_idfromtestwhereto_id='cn象_王';+---------------+|to_id|+---------------+|cn陶_陶||cn象_王|+---------------+2rowsinset(0.00sec)取cn象_王的数据,居然把cn陶_陶的数据也取回来了。这显然是不允许的。查看它们的编码:(root@im_offlog1a)[test]>selecthex('cn陶_陶');+----------------+|hex('cn陶_陶')|+----------------+|...
http://www.jb51.net//article/16275.htm
一Undefined类型只有一种值undefined以下三种情况typeof返回类型为undefined1.当变量未初始化时2.变量未定义时3.函数无明确返回值时(函数没有返回值时返回的都是undefined)undefined并不等同于未定义的值typeof并不真正区分是否是未定义看以下示例代码:varoTemp;alert(typeofoTemp);//outputs"undefined"alert(typeofoTemp2);//outputs"undefined"alert(oTemp2==undefined);//错误oTemp2未定义不能使用除了typeof之外的不能用来oTemp...
http://www.jb51.net//article/16238.htm
采集回来的图片img标签中,有好多javascript脚本和无用的信息,必需过替换自己想要的,比如alt。先看看要过滤的内容,我随便复制出来:[code]sdfsdfsdf<imgalt=”3568df.com靓图”src=”http://www.aaa.com/upimg/080330/120D1232295023X0.gif”mce_src=”http://www.eee.com/upimg/080330/120D1232295023X0.gif”width=1onclick=”javascript:;”onload=”javascript:if(this.width>500)...
http://www.jb51.net//article/16146.htm
.dll文件反编译的工具软件:    Reflectorfor.NETRemotesoft.NETExplorerRemotesoft.NETExplorer支持asp.net2.0要真正反编译.dll文件就在网站上使用该软件去操作,可以完成反编译出源码,因为是共享软件,所以在下载来的,不能完成反编译出源码,要看源码的最好是在网站编译,下面有链接链接:http://www.remotesoft.com/salamander/http://www.remotesoft.com/salamander/obfuscator/try.htmlRemotesoft...
http://www.jb51.net//article/15908.htm
[html]<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><metahttp-equiv="Content-Type"content="text/html;charset=UTF-8"><title>Inserttitlehere</title><scripttype="text/javascript">varoEventUtil=newObje...
http://www.jb51.net//article/15889.htm
1.首先VC++的DLL的导出函数定义成标准C的导出函数:[code]#ifdefLRDLLTEST_EXPORTS#defineLRDLLTEST_API__declspec(dllexport)#else#defineLRDLLTEST_API__declspec(dllimport)#endifextern"C"LRDLLTEST_APIintSum(inta,intb);extern"C"LRDLLTEST_APIvoidGetString(char*pChar);//a+bLRDLLTEST_APIintSum(inta,intb){returna+b;}//GetastringLR...
http://www.jb51.net//article/15721.htm
共有:238/10,当前1/24页  [首页] [上一页] 1 2 3 4 5 6 7 8 [下一页]  [尾页] 转到: