/var/www/html/limesurvey/third_party/kcfinder/core/class/uploader.php(155)
143 $this->config[$key] = $val; 144 145 if (!isset($sessVar['self'])) 146 $sessVar['self'] = array(); 147 148 $this->session = &$sessVar['self']; 149 150 } else 151 $this->session = &$_SESSION; 152 153 // SECURING THE SESSION 154 $stamp = array( 155 'ip' => isset($_SERVER['HTTP_X_FORWARDED_FOR'])? array_pop(explode(',', $_SERVER['HTTP_X_FORWARDED_FOR'])): $_SERVER['REMOTE_ADDR'], 156 'agent' => md5($_SERVER['HTTP_USER_AGENT']) 157 ); 158 if (!isset($this->session['stamp'])) 159 $this->session['stamp'] = $stamp; 160 elseif (!is_array($this->session['stamp']) || ($this->session['stamp'] !== $stamp)) { 161 if ($this->session['stamp']['ip'] === $stamp['ip']) 162 session_destroy(); 163 die; 164 } 165 166 // IMAGE DRIVER INIT 167 if (isset($this->config['imageDriversPriority'])) {
#0 |
+
–
/var/www/html/limesurvey/third_party/kcfinder/core/class/browser.php(23): kcfinder\uploader->__construct() 18 protected $action; 19 protected $thumbsDir; 20 protected $thumbsTypeDir; 21 22 public function __construct() { 23 parent::__construct(); 24 25 // SECURITY CHECK INPUT DIRECTORY 26 if (isset($_POST['dir'])) { 27 $dir = $this->checkInputDir($_POST['dir'], true, false); 28 if ($dir === false) unset($_POST['dir']); |
#1 |
+
–
/var/www/html/limesurvey/third_party/kcfinder/browse.php(19): kcfinder\browser->__construct() 14 */ 15 define('YII_DEBUG', true); 16 error_reporting(E_ALL); 17 require "core/bootstrap.php"; 18 $browser = "kcfinder\\browser"; // To execute core/bootstrap.php on older 19 $browser = new $browser(); // PHP versions (even PHP 4) 20 $browser->action(); 21 22 ?> |