KekSec420

PHP Security Firewall Coded By Freak @ KekSec

Jan 7th, 2024
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1.  
  2. <?php
  3. // For any questions or additional requests to add please dm me on discord @freakanon420
  4. $functions = {
  5. $_SERVER['HTTP_ACCEPT'],
  6. $_SERVER['HTTP_REFERER'],
  7. $_SERVER['REQUEST_URI'],
  8. $_SERVER['QUERY_STRING']
  9. }
  10. foreach($request in $functions) { if(fnmatch($request, "S*E*L*E*C*T") || str_contains($request, "`") || str_contains($request, "%60") || str_contains("$(") || str_contians($request, "%24%28") || str_contains($request, "3b") || str_contains($request, ";")) abort("Blocked by KekSec Firewall"); };
  11. ?>
  12.  
  13.  
Advertisement
Add Comment
Please, Sign In to add comment