Commit ebe3d1348bf65ee19420b3a98edc0192c369a7e6

Authored by Edmar Moretti
1 parent c181c7b9
Exists in master

Atualização do código

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
classesphp/pega_variaveis.php
@@ -55,6 +55,9 @@ i3geo/classesphp/pega_variaveis.php @@ -55,6 +55,9 @@ 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 +}
58 error_reporting(0); 61 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",";"); 62 $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)) 63 if (isset($_GET))
@@ -111,4 +114,4 @@ if (isset($_POST)) @@ -111,4 +114,4 @@ if (isset($_POST))
111 } 114 }
112 } 115 }
113 //echo $exps;exit; 116 //echo $exps;exit;
114 -?>  
115 \ No newline at end of file 117 \ No newline at end of file
  118 +?>