gdejong / laravel-wp-admin-you-tried
Bait for any configured login page.
dev-master / 1.0.x-dev
2017-10-21 18:59 UTC
Requires
- php: ~5.6|~7.0
- illuminate/support: ~5.1
Requires (Dev)
- phpunit/phpunit: >=5.4.3
- squizlabs/php_codesniffer: ^2.3
This package is not auto-updated.
Last update: 2025-06-08 07:25:23 UTC
README
Quick Laravel package to give something back to all the automated web scrapers trying to access /wp-admin
.
What it does: present you with a WordPress login screen. After submitting the login form the user will be redirected to another URL.
Configuration options:
login-endpoints
an array containing the endpoints to mock.action
what to do after submitting the form, currently only supportsredirect
redirect_url
where to redirect the user to after submitting the login formredirect_sleep
how many seconds to wait before redirecting
Install
Via Composer
$ composer require gdejong/laravel-wp-admin-you-tried:dev-master
Add Service Provider to config\app.php
\gdejong\LaravelWPAdminYouTried\LaravelWPAdminYouTriedServiceProvider::class,
Publish vendor files
$ php artisan vendor:publish
Edit config to your liking
config/wp-admin-you-tried.php
Contributing
Via Pull Requests.
License
The Unlicense. Please see License File for more information.