Skip to content

Commit cccbc52

Browse files
Updated README.md
1 parent eb2f462 commit cccbc52

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

readme.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,27 @@
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.

0 commit comments

Comments
 (0)