当前位置:网站首页>File upload question type
File upload question type
2022-06-13 08:17:00 【BT youth】
subject : Through what you have learned , Test its passing WAF Filter rule , Break through uploading to get webshell, The answer is in the root directory key.php In file .
Upload first 1.php file , Inside the preparation of a sentence Trojan horse :<?php eval($_POST[c]);?>
1、 Get content by grabbing packets , It is found that the upload failed

2、 Bypass uploading by suffix : Failure

3、 Bypass by content header : success ( It may also be shielded eval function , Use system Function or assert() function )

Go to the upload path :http://192.168.129.128:82/vulnerabilities/1.phtml

Use the ant sword webshell Connect :http://192.168.129.128:82/vulnerabilities/1.phtml

Get into webshell Background management interface :

Get key.php value ;
Another way :
1、 Upload system() Function to view the file in the current path


2、 View the files in the upper level directory , Find out key.php file


3、 Open the upper level directory key.php file , find key value


边栏推荐
- 6. fabric2.2 stop clustering and delete data (use the official demo)
- redis面试题
- 生鲜配送分拣管理系统哪家比较强?
- 本地靶场2-文件上传漏洞(三)-网络安全
- 3. deploy the fabric2.2 cluster (use the official demo)
- Reverse order and comparison of strings
- 批发商为什么要使用订单系统
- How to efficiently manage commodities and inventory in the beverage wholesale industry
- 2022 simulated examination question bank and online simulated examination of hoisting machinery command examination questions
- Structural analysis of hyperledger fabric (I)
猜你喜欢

How to use annotations in word

About redis encapsulation tool class using distributed locks

How to efficiently manage commodities and inventory in the beverage wholesale industry

How to modify desktop path in win10 system

Free file server storage technology

How to hide tabs in nailing applet

Structural analysis of hyperledger fabric (I)

Create a substrate private network

How can the small and medium-sized lighting industry make use of the digital transformation to stand out from the encirclement?

2022年G3锅炉水处理操作证考试题库模拟考试平台操作
随机推荐
MySQL summary
[virt-manager]远程管理启动虚拟机时,鼠标飘逸的问题
平面合并(MATLAB)
C盘爆满?简单几招教你释放、清理C盘几十G空间,最有效的C盘清理方法
CCNP_ Bt- Reissue
What software can be used to solve the problems faced by the auto parts industry
Cosmos star module development
Sizeof, strlen find character length
Do not update the sub component page of parameter object passed from parent to child of nailing applet?
mysql面试题
批发商为什么要使用订单系统
Microservice project construction III: automatic code generation
Cosmos star application case
Motiko basic syntax in dfinity (ICP) -8
4. fabric2.2 create and join channels (use the official demo)
Shell脚本常用开发规范
Several precise order receiving methods suitable for fresh food wholesale industry
Why do wholesalers use the order system
第115页的gtk+编程例子——最简单的进度条2附带使用Anjuta写gtk程序的步骤
如何通过JS动态删除table中的数据行(保留head)