Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Bypass the blacklist verification of file upload

Shulou Source: shulou.com Published: 2022-06-01 03:17:42 10月04日 Update

Sometimes you will encounter the verification code of the blacklist when you audit the code or when uploading the article. For example, the regular script name asp php jsp does not allow uploading. Here are some bypass methods I have summarized.

Shtml

/ / can be used to read files

/ / can be used to execute commands

Iis parsing

Sanr.php;.gif

Sanr.asp;.jpg

Sanr.asp/sanr.jpg

.user.ini

User.ini

Auto_prepend_file: specifies the code to be executed before each PHP page is executed

Auto_prepend_file=demo.gif (demo.gif is loaded on each page)

.htaccess

AddTypeapplication/x-httpd-php .jpg

Window characteristics

Use spaces demo.php spaces

The decimal point goes around demo.php.

Ads data flow demo.php::$DATA

Ads data stream (but the file is empty) demo.php:jpg

The Window wildcard demo.

Tags: Files wildcards success code beginning data data flow methods time spaces pages blacklists blacknames validation but at the same time commands multiple size actual Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple Shulou Technology Shulou Information MySQL Docker