An open API service indexing awesome lists of open source software.

https://github.com/thiiagoms/php-xss-example

Simple example of XSS in PHP application :shield:
https://github.com/thiiagoms/php-xss-example

php-vulnerabilities php-xss xss-example xss-vulnerability

Last synced: 12 months ago
JSON representation

Simple example of XSS in PHP application :shield:

Awesome Lists containing this project

README

          



Logo


XSS Example Attack :sword:

Simple example of PHP vullnerable applicaton :face_with_thermometer:

- [Dependencies](#Dependencies)
- [Usage](#Usage)

### Dependencies
* PHP 7.4
* SQLite 3

### Usage

- Run server on `view.php` or just use `apache2` and access `view.php`:
```bash
$ php -S localhost:8000 view.php
```

- With XSS Attack, uncomment line `28` on `view.php`


Logo

- Without XSS Attack, uncomment line `29` on `view.php`


Logo

If you want to contribute, you can also open issue or clone this repository to make a Pull Request, thank you so much!!!:purple_heart: