File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change 1
- ## Security demo
1
+ # Security demo
2
+ This project is created to provide a testing environment for anyone who wishes to try out XSS, CSRF or SQL injection.
3
+
4
+ ## Requirements
5
+ - Laravel 5.3
6
+ - PHP >= 5.6.4
7
+ - OpenSSL PHP Extension
8
+ - PDO PHP Extension
9
+ - Mbstring PHP Extension
10
+ - Tokenizer PHP Extension
11
+ - XML PHP Extension
12
+
13
+ To fulfill these requirements, I recommend using Homestead and following this guide: https://laravel.com/docs/5.3 .
14
+
15
+ ## Installation
16
+ When you meet the requirements, run the following commands:
17
+ - clone the repository ` git clone https://github.com/MatthiasKunnen/security-demo.git ` to clone the repository
18
+ - ` cd security-demo `
19
+ - ` composer install `
20
+ - copy .env.example to .env
21
+ - ` php artisan key:generate ` to regenerate secure key
22
+ - ` npm install ` to manage assets
23
+ - ` php artisan migrate ` to create the tables (make sure the database exists)
24
+ - ` php artisan db:seed ` to create some basic users, posts and comments
25
+
26
+ ## Contributing
27
+ Please feel free to fork and contribute.
You can’t perform that action at this time.
0 commit comments