当前位置:网站首页>文件包含漏洞问题
文件包含漏洞问题
2022-06-24 19:42:00 【课嗨教育】
某学员在之前提过一个问题,文件包含漏洞是否可以加载php文件,后来我在语雀上对该问题做出解答

在使用文件包含漏洞包含远程文件的时候如:
http://localhost/index.php/?filename=http://xxx.com/phpinfo.php
phpinfo打印出的信息是否为本地信息?
答案:否
我们远程文件包含过来的内容是以php解析呈现出来的,如果直接拉取已执行的php那会直接将结果获取过来,所以哦我们是以其他格式文件形式拉取过来,如:
http://localhost/index.php/?filename=http://xxx.com/phpinfo.txt
http://localhost/index.php/?filename=http://xxx.com/phpinfo.jpg
等格式使其内容被解析为php。换成jsp类型网站同理
边栏推荐
- Servlet
- Research Report on solar battery charger industry - market status analysis and development prospect forecast
- 23研考生注意啦!备考期间最容易中招的骗局,居然是它们?!
- [postgraduate entrance examination English] prepare for 2023, learn list8 words
- 07_ Springboot for restful style
- 03_SpingBoot 核心配置文件
- EPICS record Reference 3 - - field available for all Records
- Solve the problem of port occupation
- 02_SpingBoot 入门案例
- Solve the problem of non secure websites requesting localhost to report CORS after chrome94
猜你喜欢

Push markdown format information to the nailing robot

go Cobra命令行工具入门
![[postgraduate entrance examination English] prepare for 2023, learn list8 words](/img/25/d1f2c2b4c0958d381db87e5ef96df9.jpg)
[postgraduate entrance examination English] prepare for 2023, learn list8 words

Theoretical analysis of countermeasure training: adaptive step size fast countermeasure training

2022年高压电工考试模拟100题及在线模拟考试

Non single file component

Blogs personal blog project details (servlet implementation)

01_SpingBoot 框架入门

加分利器 不负所托 | 知道创宇获攻防演练防守方感谢信!

关于某手滑块的一些更新(6-18,js逆向)
随机推荐
How to submit the shopee opening and settlement flow?
Concurrent shared model management
Design and implementation of spark offline development framework
【文本数据挖掘】中文命名实体识别:HMM模型+BiLSTM_CRF模型(Pytorch)【调研与实验分析】
关于某手滑块的一些更新(6-18,js逆向)
laravel 创建 service层
2022安全员-B证考试题库及答案
「ARM 架构」是一种怎样的处理器架构?
The extra points and sharp tools are worthy of the trust | know that Chuangyu won the letter of thanks from the defense side of the attack and defense drill!
High level application of SQL statements in MySQL database (I)
Do you need to improve your code reading ability? It's a trick
力扣解法汇总515-在每个树行中找最大值
案例解析:用「度量」提升企业研发效能|ONES Talk
vulnhub Vegeta: 1
推送Markdown格式信息到钉钉机器人
01_ Getting started with the spingboot framework
京东618会议平板排行榜公布,新锐黑马品牌会参谋角逐前三名,向国货老大华为学习
02_SpingBoot 入门案例
Selection (028) - what is the output of the following code?
Tech talk activity review kubernetes skills of cloud native Devops