Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 month 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 (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-18T03:13:07.000Z (10 months ago)
- Last Synced: 2024-03-18T04:25:58.723Z (10 months ago)
- Topics: firewall, php, sqlinjection, waf, xss
- Language: PHP
- Homepage:
- Size: 253 KB
- Stars: 14
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ADEL-WAF
PHP lightweight in-app Web Application Firewall.![alt text](https://raw.githubusercontent.com/Adel-Qusay/ADEL-WAF/main/Screenshot.png)
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 shellsHow 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)