gdejong / laravel-wp-admin-you-tried
Bait for any configured login page.
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/gdejong/laravel-wp-admin-you-tried
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-12-21 10:34:20 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-endpointsan array containing the endpoints to mock.actionwhat to do after submitting the form, currently only supportsredirectredirect_urlwhere to redirect the user to after submitting the login formredirect_sleephow 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.