Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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 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)