- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
static public function break_value($value)
{
$value=str_ireplace("echo","_", "$value");
$value=str_ireplace("==","_", "$value");
//$value=str_ireplace("$","_", "$value");
$value=str_ireplace("GET","_", "$value");
$value=str_ireplace("POST","_", "$value");
$value=str_ireplace("function","_", "$value");
$value=str_ireplace("if(","_", "$value");
$value=str_ireplace("else","_", "$value");
$value=str_ireplace("query","_", "$value");
$value=str_ireplace("\'","\"", "$value");
$value=str_ireplace("document.","_", "$value");
$value=str_ireplace("window.","_", "$value");
$value=str_ireplace("{","(", "$value");
$value=str_ireplace("}",")", "$value");
$value=str_ireplace("getElementByID","_", "$value");
$value=str_ireplace("script","_", "$value");
$value=str_ireplace("exit","_", "$value");
$value=str_ireplace("break","_", "$value");
$value=str_ireplace("include","_", "$value");
$value=str_ireplace("session","_", "$value");
$value=str_ireplace("header","_", "$value");
$value=str_ireplace("alert","_", "$value");
$value=str_ireplace("хуй","_", "$value");
$value=str_ireplace("блять","_", "$value");
$value=str_ireplace("блядь","_", "$value");
$value=str_ireplace("педераст","_", "$value");
$value=str_ireplace("пидарас","_", "$value");
$value=str_ireplace("сука","_", "$value");
$value=str_ireplace("ебан","_", "$value");
$value=str_ireplace("еблан","_", "$value");
$value=str_ireplace("мудак","_", "$value");
$value=str_ireplace("скотин","_", "$value");
$value=str_ireplace("ублюдок","_", "$value");
$value=str_ireplace("мразь","_", "$value");
return $value;
}
Попросили поучаствовать в проекте. это кусок класса protection, который был создан для того чтобы фильтровать переменные в GET и POST :D