Skip to content
forked from m1lw0rm/xWAF

xWAF 3.0 - Free Web Application Firewall, Open-Source.

License

Notifications You must be signed in to change notification settings

EXELANCE-LLC/xWAF

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xWAF - Web Application Firewall

Original Free Web Application Firewall, Open-Source.

Features

  • XSS Vulns Fixed.
  • SQL Injection Fixed.
  • Anti-Cookie-Steal Method.
  • HTML Malicious Code's Vulns Fixed.
  • CSRF Easy to use, and validation.
  • Block HTML Upgraded.
  • Lightweight.
  • Array Support, All Bypass fixed.
  • Advanced Bot validation, Browser Validation.
  • Most Poc's SQLi and XSS.
  • Security upgraded.
  • Errors supression.
  • Cloudflare and BlazingFast Support.

Sample Usage

// Before all your code starts.
require('xwaf.php');
$xWAF = new xWAF();
$xWAF->start();
// Your code below.

Advanced Usage

// Before of all your CODE.
require('xwaf.php');
$xWAF = new xWAF();
// Cloudflare Mode [Optional]
$xWAF->useCloudflare();
// BlazingFast Mode [Optional]
$xWAF->useBlazingfast();
// Use Own IP Header [Optional]
$xWAF->customIPHeader('IP-Header');
// Anti-Cookie-Steal Method [Optional]
$xWAF->antiCookieSteal('username'); // For trigger if on PHPSESSID is logged.

// Check separated types.
$xWAF->checkGET();
$xWAF->checkPOST();
$xWAF->checkCOOKIE();
// Your code below.

CSRF Validation Example

Please read test.php

Requirements

  • Min: PHP5.3 (With common functions)

About

xWAF 3.0 - Free Web Application Firewall, Open-Source.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%