当前位置:网站首页>ctfshow-web351(SSRF)
ctfshow-web351(SSRF)
2022-07-01 06:48:00 【m0_62094846】
<?php
error_reporting(0);
highlight_file(__FILE__);
$url=$_POST['url'];
$ch=curl_init($url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result=curl_exec($ch);
curl_close($ch);
echo ($result);
?> 


flag存在于flag.php中,但是不能用当前的网址,试试本地网址(127.0.0.1)


边栏推荐
- 【微信小程序】视图容器和基本内容组件
- Easynvs cloud management platform function reconfiguration: support adding users, modifying information, etc
- 绕圆旋转动画组件,拿过来直接用
- [Tikhonov] image super-resolution reconstruction based on Tikhonov regularization
- (上)苹果有开源,但又怎样呢?
- 开源了!文心大模型ERNIE-Tiny轻量化技术,又准又快,效果全开
- Summary of wechat official account embedded program to jump to wechat
- Fix the problem that the AI video intelligent platform easycvr device video cannot be played
- On whether variables are thread safe
- 记一次线上接口慢查询问题排查
猜你喜欢

How to use Alibaba vector font files through CDN

ctfshow-web352,353(SSRF)

Solve the problem of "unexpected status code 503 service unavailable" when kaniko pushes the image to harbor

如何画产品架构图?

Jena基于OWL的默认推理查询

产品学习(一)——结构图

问题:OfficeException: failed to start and connect(三)

Servlet 和 JSP 中的分页

Some pits designed by NOC

為什麼這麼多人轉行產品經理?產品經理發展前景如何?
随机推荐
数据库笔记
Common shortcut keys
mysql学习
【LINGO】求七个城市最小连线图,使天然气管道价格最低
女生适合学产品经理吗?有什么优势?
JSP - 分页
【MATLAB】求解非线性规划
【LINGO】求无向图的最短路问题
树莓派4的WiFi设置
Which securities company does qiniu school cooperate with? Is it safe to open an account?
问题:OfficeException: failed to start and connect(二)
2022 Jiangsu Vocational College skills competition (secondary vocational school) network construction and application open competition volume
Rclone configuring Minio and basic operations
[wechat applet] to solve button, input and image components
Figure out the difference between event coordinates screenx, clientx, pagex and offsetx
MySQL table partition creation method
【LINGO】求解二次规划
2022 年江苏省职业院校技能大赛(中职) 网络搭建与应用赛项公开赛卷
How to permanently configure local opencv4.5.5 for vs2019
Grain Mall - environment (p1-p27)