Re: Web zone gamerz error
Quote:
Originally Posted by
alxndr
Yeah, this will catch the declare statement in the POST request. Anyway, in some time, i hope no so much time, i'm going to release a site with php 5.5 that will fix all the injection methods that i know
Thanks for clearing that out so how about the GET request bro?
Re: Web zone gamerz error
Quote:
Originally Posted by
A v a r a
Thanks for clearing that out so how about the GET request bro?
As I say, it would be better if you learnt how to code, so you could fix this simple things urself.
PHP Code:
foreach($_GET as $value)
foreach($badwords as $word)
if(substr_count($value, $word) > 0)
die();
I repeat myselft, it won't work if you dont call it properly in each page or input.
Re: Web zone gamerz error
Quote:
Originally Posted by
alxndr
As I say, it would be better if you learnt how to code, so you could fix this simple things urself.
PHP Code:
foreach($_GET as $value)
foreach($badwords as $word)
if(substr_count($value, $word) > 0)
die();
I repeat myselft, it won't work if you dont call it properly in each page or input.
Thanks again so what developers would do is that call this php in each page
Like for example
include(sqlinjectpost.php)
include(sqlinjectget.php)
Re: Web zone gamerz error