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:
- Host: GitHub
- URL: https://github.com/thiiagoms/php-xss-example
- Owner: thiiagoms
- License: mit
- Created: 2022-10-06T13:44:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-06T13:48:43.000Z (over 3 years ago)
- Last Synced: 2025-01-16T09:07:55.260Z (about 1 year ago)
- Topics: php-vulnerabilities, php-xss, xss-example, xss-vulnerability
- Language: PHP
- Homepage:
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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`
- Without XSS Attack, uncomment line `29` on `view.php`
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: