当前位置:网站首页>Upload labs failed to pass the customs halfway and the middle road collapsed

Upload labs failed to pass the customs halfway and the middle road collapsed

2022-06-11 17:56:00 The shark is starving

pass-01

front end js, I can't change the file type
 Insert picture description here Delete directly checkfile
 Insert picture description here
Upload successful
 Insert picture description here

pass-02

modify Content-Type by image/jpeg

pass-03

Blacklist verification
modify .php by .php3

pass-04

The blacklist is huge
Create a .htaccess file (notepad++ that will do ), Write code ( The content is to 4.jpg treat as php File parsing )
<FilesMatch “4.jpg”>
SetHandler application/x-httpd-php

Upload .htaccess file , Upload again 4.jpg Picture horse file

Picture horse command :copy 03.jpeg+shell.php 333.jepg

pass-05

Too lazy to write. 1

2

原网站

版权声明
本文为[The shark is starving]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206111742417868.html