Appearance
【Web Security】HTTP
001 HTTP
- 拦截浏览器GET请求,点击Action,然后Send to repeater。Repeater中有如下请求:
- 修改为
GET /?key1=YulinSec HTTP/1.1
- 将GET改为POST,在后面添加
key2=YulinSec
,还要记得添加Content-Type: application/x-www-form-urlencoded
- 伪造IP,添加
Referer: YulinSec://127.0.0.1
- 观察到
Set-Cookie: admin=0
,猜测应该添加Cookie: admin=1
。获取flag!