Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

asp.netµ¯³ö¿òÎÊÌâ

ÔÚµ¯³ö¿òÖеã»÷Ò»¸ö°´Å¥£¬Ôõôµ÷תµ½ÁíÒ»¸öä¯ÀÀÆ÷£¬²¢ÇÒÔÚ¸Ãä¯ÀÀÆ÷´ò¿ªÁ½¸öÒ³Ãæ
ÄãµÄÒâ˼Ӧ¸ÃÊÇ
response.write("<script>alert('È·ÈÏ'); window.location.href('xxxx.aspx'); </script>");
ÊÇÕâÒâ˼£¿

ÁíÒ»¸öä¯ÀÀÆ÷£¿´ò¿ªÁ½¸öÒ³Ã棿¡¡Ã»Ã÷°×

ÒýÓÃ
ÄãµÄÒâ˼Ӧ¸ÃÊÇ
response.write(" <script>alert('È·ÈÏ'); window.location.href('xxxx.aspx'); </script>");
ÊÇÕâÒâ˼£¿

UP

response.write(" <script>alert('È·ÈÏ'); window.location.href('xxxx.aspx'); window.open('www.baidu.com');</script>"); 
ÐèÒªÌøתÓÐÌøת,ÐèÒªopenÒ³ÓÐ.open

²»Êǹþ£¬ÎÒµÄÒâ˼ÊÇÎÒÔÚieä¯ÀÀÆ÷Öеã»÷Ò»¸ö°´Å¥£¬´ò¿ªÒ»¸öµ¯³ö´°Ì壬µ«ÊÇ£¬ÎÒÔÚµ¯³ö´°ÌåÉϵã»÷Ò»¸öʼþʱ£¬Ëû¾ÍÌøתµ½°ÁÓÎä¯ÀÀÆ÷ÉÏÈ¥ÁË£¬²¢ÇÒ´ò¿ªÒ»¸ö¿Õ°×´°Ìå

Page.ClientScript.RegisterStartupScript(this.GetType(), "", "alert('Ìøת');location.replace('NewsBackground.aspx')", true);

ÒªÄãÌø¼¸¸ö£¬Äã¼Ó¼¸¸ö location.replace('NewsBackground.aspx') ¾ÍÐÐÁË¡£


ÊÂʵÉÏÎÒ²»ÐèÒªÌøת¹þ£¬µ¥ÊÇÎÒ¼ÓÁËÒ»¸öjs¾Í³öÏÖÁËÕâ¸öÎÊÌâ

ÒýÓÃ
ÊÂʵÉÏÎÒ²»ÐèÒªÌøת¹þ£¬µ¥ÊÇÎÒ¼ÓÁËÒ»¸öjs¾Í³öÏÖÁËÕâ¸öÎÊÌâ

js¼ÓµÄʲô?Èç¹ûÊÇÉÏÃæµÄµ¯³öÒ³Ãæµã»÷button,Ó¦¸ÃÊÇÄ㵯³öµÄÄǸöÒ³ÃæµÄbuttonÎÊÌâ,´ò¿ªÒ»¸öblankÒ³ÁË

¼ÓÁËÒ»¸öµ¯³ö²ãµÄjs

£¿£¿£¿£¿£¿

µ¯³ö²ãÀïµÄÒ³Ãæ,buttonд´íÁË°É?

¹Ø¼üÊÇÎÒ²»ÐèÒªÌøת£¬µ«ÊÇÒ»µã°´Å¥£¬Ëý¾Í


Ïà¹ØÎÊ´ð£º

asp.net Ï̵߳ÄÎÊÌ⣿ - .NET¼¼Êõ / ASP.NET

Ç°¶Îʱ¼äÅöµ½Ò»µÀÃæÊÔÌâÈçÏ£º
test.aspxÒ³ÃæÓÐÈçÏ´úÂ룺
 Response.Write(Test.GetDate());
TestÀàÈçÏ£º
public class Test
{
  static string dt="";
  public static s ......

Windows¿Ø¼þÓ¦ÓÃÓÚASP.netµÄȨÏÞÎÊÌâ

ÎÒÒѽ«Windows¿Ø¼þ³É¹¦Ó¦ÓÃÓÚAsp.netÖУ¬µ«Õâ¸ö¿Ø¼þ»¹Òª·ÃÎÊÊý¾Ý¿â¡¢½øÐб¾µØIO²Ù×÷¡¢´òÓ¡µÈ£¬Õâʱ¾Í»á³öÏÖ¡°Ó¦ÓóÌÐòÊÔͼִÐа²È«²ßÂÔ²»ÔÊÐíµÄ²Ù×÷¡±ÕâÑùµÄÌáʾ£¬Ó¦¸ÃÔõÑù¸øËüÊÚȨ£¿

ÔÚ¿Í»§¶ËÒªÅäÖÃ,ÔÊÐí¿Í»§¶ËÈ ......

Ë­ÓÐÓÚº£ÌÎASP.NETµÄÈ«Ì×ÊÓƵ£¨Ãâ·Ñ£©

RT¡£ºÜ¶àµØÖ·¶¼´ò²»¿ª»ò²»ÄÜÏÂÔØÁË
ÓÐ×ÊÔ´µÄÅóÓѸø¸öµØÖ·¡£¡£Ö»ÒªÏÂÔغóÊÇÎÒÏëÒªµÄÄÚÈÝ 50·ÖÏ×ÉÏ!
лл!
ɳ·¢ÎÒÏÈ×ø!


°ï¶¥

°ï¶¥
ûÌý˵¹ýŶ

JF

ºÃÏñ19ûÓеģ¬²»È«¡£

ºÃ¶à¼¯¶¼²»ÄÜÏ¡£¡£
......

É¢·Û ÕýÔÚѧϰasp.net mvc ºÜÍ·´ó

ÕýÔÚѧϰÕâ¸ö¶«¶« ¸Ð¾õºÜ¶àµØ·½²»ÊǺܶ® ÕýÔÚŬÁ¦ É¢µã·Û¸øasp.netµÄͬÈÊÃÇ Çó½ÌºÃµÄѧϰ×ÊÁÏ Ð»Ð»
²Î¿¼

asp.net/mvcÉÏÓкܶàÄÚÈÝ¡£ 
×î½üÒ²ÔÚ¿´¡£ 
ͬÁÄ¡£

JF,3Q


±ÈÎÒÓÐǰ;, ÎÒÖÁÉÙÄ¿Ç° ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ