This project is created to provide a testing environment for anyone who wishes to try out XSS, CSRF or SQL injection.
- Laravel 5.3
- PHP >= 5.6.4
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
To fulfill these requirements, I recommend using Homestead and following this guide: https://laravel.com/docs/5.3.
When you meet the requirements, run the following commands:
- clone the repository
git clone https://github.com/MatthiasKunnen/security-demo.gitto clone the repository cd security-democomposer install- copy .env.example to .env
php artisan key:generateto regenerate secure keynpm installto manage assetsphp artisan migrateto create the tables (make sure the database exists)php artisan db:seedto create some basic users, posts and comments
Please feel free to fork and contribute.