Commit 4c6380313cb106bf34262e8847d08957fc4ef8ff
1 parent
94b45c9a
Exists in
master
and in
7 other branches
Atualização do código
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
classesphp/pega_variaveis.php
@@ -55,6 +55,10 @@ i3geo/classesphp/pega_variaveis.php | @@ -55,6 +55,10 @@ i3geo/classesphp/pega_variaveis.php | ||
55 | */ | 55 | */ |
56 | //echo "<pre>"; | 56 | //echo "<pre>"; |
57 | //var_dump($_POST);exit; | 57 | //var_dump($_POST);exit; |
58 | +if (basename(__FILE__) == basename($_SERVER['SCRIPT_FILENAME'])){ | ||
59 | + exit; | ||
60 | +} | ||
61 | + | ||
58 | error_reporting(0); | 62 | error_reporting(0); |
59 | $bl = array("_decode","php","eval","passthru","shell_exec","escapeshellarg","escapeshellcmd","proc_close","proc_open","dl","popen","contents","delete","drop","update","insert","exec","system",";"); | 63 | $bl = array("_decode","php","eval","passthru","shell_exec","escapeshellarg","escapeshellcmd","proc_close","proc_open","dl","popen","contents","delete","drop","update","insert","exec","system",";"); |
60 | if (isset($_GET)) | 64 | if (isset($_GET)) |