https://github.com/adel-qusay/adel-waf
PHP lightweight in-app Web Application Firewall
https://github.com/adel-qusay/adel-waf
firewall php sqlinjection waf xss
Last synced: about 1 year ago
JSON representation
PHP lightweight in-app Web Application Firewall
- Host: GitHub
- URL: https://github.com/adel-qusay/adel-waf
- Owner: Adel-Qusay
- Created: 2021-12-25T00:46:55.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-06T02:27:13.000Z (almost 2 years ago)
- Last Synced: 2025-03-24T10:38:54.555Z (over 1 year ago)
- Topics: firewall, php, sqlinjection, waf, xss
- Language: PHP
- Homepage:
- Size: 253 KB
- Stars: 18
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ADEL-WAF
PHP lightweight in-app Web Application Firewall.

Features / Protections Against:
- Cross-site scripting (XSS)
- SQL injection (SQLI)
- Remote file inclusion (RFI)
- Remote code execution (RCE)
- Local file inclusion (LFI)
- Denial of service (DOS)
- Web shells
How to use:
Edit - php.ini File:
```
auto_prepend_file = "/path/to/AdelWAF.php"
```
--------------------------------OR--------------------------------
Edit - .htaccess File (only if unable to edit php.ini)
```
php_value auto_prepend_file "/path/to/AdelWAF.php" php_value auto_prepend_file "/path/to/AdelWAF.php"
```
--------------------------------OR--------------------------------
Include this PHP file in every page you want to protect.
Note: Works with all PHP frameworks (Use it as a filter)