Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use .htaccess file to form PHP backdoor

Shulou Source: shulou.com Published: 2022-06-01 04:35:44 10月04日 Update

Editor to share with you how to use .htaccess files to form a PHP backdoor, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Using .htaccess files to form the back door of PHP

General .htaccess can be used to leave a backdoor and bypass the blacklist, create .htaccess files in the upload directory, take effect without restarting, and upload png files for parsing.

AddType application/x-httpd-php .png

In addition, add the php parsing rule in .htaccess to parse the file name containing 1 into php, and upload 1.txt to parse.

SetHandler application/x-httpd-php above is all the contents of the article "how to use .htaccess files to form a PHP backdoor". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Documents backdoors articles content not much most file names more directories knowledge industries rules information channels channels blacklists blacknames references learning help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL macOS Shulou Tech Info Huawei Xiaomi