首页 »Javascript教程 » javascript函数:浅谈javascript函数劫持[转自xfocus] »正文javascript函数:浅谈javascript函数劫持[转自xfocus]来源: 发布时间:星期六, 2008年12月27日 浏览:34次 评论:0
![]() javascript ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() window.alert = function(s) {}; 觉得这种使用方法很巧妙新颖 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() <!--1.htm--> <script type="text/javascript"> <!-- var _alert = alert; window.alert = function(s) { ![]() ![]() _alert(s); } } //--> </script> <html> <body> <input type="button" _disibledevent="10"></textarea> </body> </html> 在input框里输入加密 ![]() eval(unescape("%61%6C%65%72%74%28%31%29%3B")); 在output框里输出解码后 ![]() alert(1); 当然你还能想到更多 ![]() 0
相关文章
读者评论
发表评论 |