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д´íÁË°É? ¹Ø¼üÊÇÎÒ²»ÐèÒªÌøת£¬µ«ÊÇÒ»µã°´Å¥£¬Ëý¾Í
Ïà¹ØÎÊ´ð£º
Ç°¶Îʱ¼äÅöµ½Ò»µÀÃæÊÔÌâÈçÏ£º test.aspxÒ³ÃæÓÐÈçÏ´úÂ룺 Response.Write(Test.GetDate()); TestÀàÈçÏ£º public class Test { static string dt=""; public static s ......
ÎÒÒѽ«Windows¿Ø¼þ³É¹¦Ó¦ÓÃÓÚAsp.netÖУ¬µ«Õâ¸ö¿Ø¼þ»¹Òª·ÃÎÊÊý¾Ý¿â¡¢½øÐб¾µØIO²Ù×÷¡¢´òÓ¡µÈ£¬Õâʱ¾Í»á³öÏÖ¡°Ó¦ÓóÌÐòÊÔͼִÐа²È«²ßÂÔ²»ÔÊÐíµÄ²Ù×÷¡±ÕâÑùµÄÌáʾ£¬Ó¦¸ÃÔõÑù¸øËüÊÚȨ£¿ ÔÚ¿Í»§¶ËÒªÅäÖÃ,ÔÊÐí¿Í»§¶ËÈ ......
RT¡£ºÜ¶àµØÖ·¶¼´ò²»¿ª»ò²»ÄÜÏÂÔØÁË ÓÐ×ÊÔ´µÄÅóÓѸø¸öµØÖ·¡£¡£Ö»ÒªÏÂÔغóÊÇÎÒÏëÒªµÄÄÚÈÝ 50·ÖÏ×ÉÏ! лл! ɳ·¢ÎÒÏÈ×ø! °ï¶¥ °ï¶¥ ûÌý˵¹ýŶ JF ºÃÏñ19ûÓеģ¬²»È«¡£ ºÃ¶à¼¯¶¼²»ÄÜÏ¡£¡£ ......
ÕýÔÚѧϰÕâ¸ö¶«¶« ¸Ð¾õºÜ¶àµØ·½²»ÊǺܶ® ÕýÔÚŬÁ¦ É¢µã·Û¸øasp.netµÄͬÈÊÃÇ Çó½ÌºÃµÄѧϰ×ÊÁÏ Ð»Ð» ²Î¿¼ asp.net/mvcÉÏÓкܶàÄÚÈÝ¡£ ×î½üÒ²ÔÚ¿´¡£ ͬÁÄ¡£ JF,3Q ±ÈÎÒÓÐǰ;, ÎÒÖÁÉÙÄ¿Ç° ......