读书人

Web前端黑客技术揭底 笔记2

发布时间: 2013-10-30 12:56:21 作者: rapoo

Web前端黑客技术揭秘 笔记2
一.模拟用户发起浏览器请求 1.1 GET方式,实际上就是一个URL

var _write=document.write.bind(document);document.write=function(x){if(typeof(x)=='underfined'){return;}_write(x);};var _write=document.write;document.write=function(x){if(typeof(x)=='undefined'){return;}_write.call(document,x);};document.write("<script>alert(1)</script>");













读书人网 >Web前端

热点推荐