Advertisement
rizky21id

Advance of xWAF

Mar 27th, 2020
480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.48 KB | None | 0 0
  1. // Before of all your CODE.
  2. require('xwaf.php');
  3. $xWAF = new xWAF();
  4. // Cloudflare Mode [Optional]
  5. $xWAF->useCloudflare();
  6. // BlazingFast Mode [Optional]
  7. $xWAF->useBlazingfast();
  8. // Use Own IP Header [Optional]
  9. $xWAF->customIPHeader('IP-Header');
  10. // Anti-Cookie-Steal Method [Optional]
  11. $xWAF->antiCookieSteal('username'); // For trigger if on PHPSESSID is logged.
  12.  
  13. // Check separated types.
  14. $xWAF->checkGET();
  15. $xWAF->checkPOST();
  16. $xWAF->checkCOOKIE();
  17. // Your code below.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement