Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Latest commit

 

History

History

upload_include2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

题目:upload&include

题目描述:文件包含与上传合并利用

题目难度: 🌟🌟

维护:SiJiDo

KEY: flag{eb5adf98370751fe5c01e371bcefadd1}

配置信息:

  1. 开放端口: 8080

解题过程:

  1. 看源码有include.php的提示
  2. 访问include.php,告知存在file参数,文件包含,自带.php后缀
  3. 扫描发现upload.php
  4. 上传压缩包压缩包内包含一句话木马的php文件,修改压缩包为jpg后缀和Contents-type为image/jpeg
  5. 包含http://xxx.xxx.xxx.xxx/include.php?file=zip://upload/1.jpg%23eval