phpMyAdminHoneypot/README.md

549 B

phpMyAdminHoneypot

A static phpMyAdmin login page with faux error messages.

Nginx configuration

Add this section to your website's config file:

location /phpmyadmin/ {
    alias /var/www/phpMyAdminHoneypot/;
    error_page 403 =200 /phpmyadmin/index.html;
    error_page 404 =200 /phpmyadmin/index.html;
    error_page 405 =200 /phpmyadmin/index.html;
    error_page 500 =200 /phpmyadmin/index.html;
}

OPTIONAL: Loading arbitrary hidden HTML

Create a frame.html file at the root of the project directory with the desired content.