Saint92

Patch Bug SQLi by x'1n73ct

Oct 21st, 2015
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.54 KB | None | 0 0
  1. #patch sqli method get ( kecuali sqli
  2. base64 & sqli url friendly (yang pakai
  3. url alias bukan id))
  4.  
  5. function patch_sqli_G($num){
  6. if($num < 0){
  7. echo"<script>window.location.href='./index.php'</script>";
  8. }elseif(!is_numeric($num)){
  9. echo"<script>window.location.href='./index.php'</script>";
  10. }else{
  11. return $num;
  12. }
  13. }
  14.  
  15. patch post sqli & bypass login
  16.  
  17. function patch_sqli_P($data){
  18. $filter = mysql_real_escape_string(stripslashes(strip_tags(htmlspecialchars($data,ENT_QUOTES))));
  19. return $filter;
  20. }
  21.  
  22.  
  23. sumber: Sec7or Team
  24. by : x'1n73ct
Advertisement
Add Comment
Please, Sign In to add comment