一.xp_cmdshellEXECmaster..xp_cmdshell'ipconfig'开启xp_cmdshell:--Toallowadvancedoptionstobechanged.EXECsp_configure'showadvancedoptions',1GO--Toupdatethecurrentlyconfiguredvalueforadvancedoptions.RECONFIGUREGO--Toenablethefeature.EXECsp_configure'xp_cmdshell',1GO--Toupdatethecurrentlyconfiguredvaluefor...
http://www.jb51.net//article/16682.htm
[code]OptionExplicitDimoBarSetoBar=NewProgressBaroBar.StartBar"Thisisatest."WScript.Sleep(3000)oBar.SetLine"Soisthis."WScript.Sleep(3000)oBar.CloseBarClassProgressBarDimoBarCat,sProgressBarHTAFile,sProgressBarRunFile,sProgressBarSleepFile,sInitialTempBuildPublicSubStartBar(sMessageToDisplay)DimsInit...
http://www.jb51.net//article/16680.htm
今天试了一下,用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
代码如下:[code]<tablewidth="100%"height="60"border="0"cellspacing="0"cellpadding="0"> <tr> <tdheight="60"valign="top"><!--此处显示摄像头所属于宿舍或者(大门/围墙)的概况信息--><iframeid="infoA"enableviewstate="true"src="infoA.htm"frameborder="0"scrolling="auto"style="width:648px;height:60px;margin:...
http://www.jb51.net//article/16674.htm
[code]'FileName:SoftwareMeteringCLS.vbs'////////////////////////////////////////////////////////////////////If(WScript.ScriptName="SoftwareMeteringCLS.vbs")ThenCalldemo_SoftwareMeteringCLS()'====================================================================FunctiongetSoftwareList(sHost)'Callableby...
http://www.jb51.net//article/16670.htm
先准备好软件:Apache官方下载地址:apache_2.0.55-win32-x86-no_ssl.msi,更多版本在这里;php官方下载地址:php-5.0.5-Win32.zip,更多镜像下载地址,更多版本下载;mysql官方下载地址:mysql-4.1.14-win32.zip,更多镜像下载地址,更多版本下载。一、安装Apache,配置成功一个普通网站服务器运行下载好的“apache_2.0.55-win32-x86-no_ssl.msi”,出现如下界面:出现ApacheHTTPServer2.0.55的安装向导界面,点“Next”继续确认同意软件安装使用许可条例,选择“Iaccept...
http://www.jb51.net//article/16665.htm
初步的想法是用两个recordset,一个从SQL取数据,一个往Access里面插入数据因为表的字段比较多,所以只好用一个循环[code]while(!m_pRecordset_sql->adoEOF){m_pRecordset_access->AddNew();for(inti=0;i<m_pRecordset_sql->Fields->Count;i++){vValue=m_pRecordset_sql->GetCollect(_variant_t((long)i));m_pRecordset_access->PutCollect(_variant...
http://www.jb51.net//article/16664.htm
特征:1,运行Notepad.exe后,%SYSTEMROOT%system32建立随机命名文件夹935F0D,释放C:\WINDOWS\system32\935F0D\96B69A.EXE,2,在%USERPROFILE%「开始」菜单\程序\启动中建立图标为文件夹文件名为空格的快捷方式,指向c:\windows\system32\935f0d\96b69a.exe3,添加启动到HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run,指向c:\windows\system32\935f0d\96b69a.exe4,下载病毒http://twocan...
http://www.jb51.net//article/16662.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
[code]/***小时:分钟的正则表达式检查<br>*<br>*@parampInput要检查的字符串*@returnboolean返回检查结果*/publicstaticbooleanisUrl(StringpInput){if(pInput==null){returnfalse;}StringregEx="^([0-1]{1}\d|2[0-3]):([0-5]\d)$";Patternp=Pattern.compile(regEx);Matchermatcher=p.matcher(pInput);returnmatcher.matches();}[/code]...
http://www.jb51.net//article/16659.htm
其实以前也遇到过这种错误,选择的是逃避!!哈哈第一步:把'NTAUTHORITY\NETWORKSERVICE'添加到Administrator组中我的电脑-->右键-->管理-->本地用户和组选择“组”-->双击Administrators-->单击“添加”-->单击“高级”-->单击“立即查找”-->在下面的列表中选择NetworkService用户-->两次单击“确定”-->加入。第二步在企业管理器中加入NetWordService用户打开SqlServer企业管理器-->选择数据库实例-->打开“安全性”节点--&...
http://www.jb51.net//article/16658.htm
