<html>
<head>
<script>
window.onload = function(){
document.getElementById("postsubmit").click();
}
</script>
</head>
<body>
<form method="post" action="这是目标页面">
<input type="text" name="名字" value="这是攻击代码" />
<input id="postsubmit" type="submit" name="submit" value="submit" />
</form>
</body>
</html>
最近在学xss,但是学到了xss post时候发现每次抓到的页面都是表单页面,并不是目标页面,怎么会这样,如何解决?
每次都是这样,如何才能抓到目标页面