phpMyAdminHoneypot/README.md

26 lines
706 B
Markdown
Raw Permalink Normal View History

2022-05-18 21:41:05 +03:00
# phpMyAdminHoneypot
2022-05-26 22:32:27 +03:00
A static phpMyAdmin login page with faux error messages.
2022-05-26 23:04:14 +03:00
# Nginx configuration
Add this section to your website's config file:
```
2022-05-28 12:23:59 +03:00
location /phpmyadmin {
location ~ \.php$ {
try_files $uri $uri/ /phpmyadmin/index.html;
}
2022-05-26 23:04:14 +03:00
alias /var/www/phpMyAdminHoneypot/;
2022-05-26 23:24:57 +03:00
index index.html;
try_files $uri $uri/ /phpmyadmin/index.html;
2022-05-26 23:04:14 +03:00
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;
}
```
2022-05-26 22:32:27 +03:00
# OPTIONAL: Loading arbitrary hidden HTML
Create a frame.html file at the root of the project directory with the desired content.