/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/application/core/LSSodium.php(141)
129 * Decrypt encrypted string. 130 * @param string $sEncryptedString Encrypted string to decrypt 131 * @param bool $bReturnFalseIfError false by default. If TRUE, return false in case of error (bad decryption). Else, return given $encryptedInput value 132 * @return string Return decrypted value (string or unsezialized object) if suceeded. Return FALSE if an error occurs (bad password/salt given) or inpyt encryptedString 133 * @throws SodiumException 134 */ 135 public function decrypt($sEncryptedString, $bReturnFalseIfError = false): string 136 { 137 if ($this->bLibraryExists === true) { 138 if (!empty($sEncryptedString) && $sEncryptedString !== 'null') { 139 $plaintext = ParagonIE_Sodium_Compat::crypto_secretbox_open(base64_decode($sEncryptedString), $this->sEncryptionNonce, $this->sEncryptionSecretBoxKey); 140 if ($plaintext === false) { 141 throw new SodiumException(sprintf(gT("Wrong decryption key! Decryption key has changed since this data were last saved, so data can't be decrypted. Please consult our manual at %s.", 'unescaped'), 'https://manual.limesurvey.org/Data_encryption#Errors')); 142 } else { 143 return $plaintext; 144 } 145 } 146 return ''; 147 } 148 return $sEncryptedString; 149 } 150 151 /** 152 * 153 * Write encryption key to version.php config file
#0 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/application/models/LSActiveRecord.php(460): LSSodium->decrypt() 455 $updatedValues = $LEM->getUpdatedValues(); 456 foreach ($attributes as $key => $attribute) { 457 if ($action === 'decrypt' && array_key_exists($key, $updatedValues)) { 458 continue; 459 } 460 $this->$key = $sodium->$action($attribute); 461 } 462 } 463 } 464 465 /** |
#1 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/application/models/LSActiveRecord.php(337): LSActiveRecord->decryptEncryptAttributes() 332 $sodium = Yii::app()->sodium; 333 334 return $sodium->decrypt($value); 335 } else { 336 // decrypt attributes 337 $this->decryptEncryptAttributes('decrypt'); 338 339 return $this; 340 } 341 } 342 |
#2 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/application/helpers/admin/export/Writer.php(313): LSActiveRecord->decrypt() 308 $oToken->decrypt(); 309 $aResponse = array_merge($aResponse, $oToken->attributes); 310 } 311 $oResponse = Response::model($oSurvey->id); 312 $oResponse->setAttributes($response, false); 313 $oResponse->decrypt(); 314 $aResponse = array_merge($aResponse, $oResponse->attributes); 315 316 $elementArray = array(); 317 318 foreach ($oOptions->selectedColumns as $column) { |
#3 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/application/helpers/admin/exportresults_helper.php(119): Writer->write() 114 $offset = $i * $maxRows; 115 $responsesQuery = $surveyDao->loadSurveyResults($survey, $oOptions->responseMinRecord, $oOptions->responseMaxRecord, $sFilter, $oOptions->responseCompletionState, $oOptions->selectedColumns, $oOptions->aResponses); 116 $responsesQuery->offset($offset); 117 $responsesQuery->limit($maxRows); 118 $survey->responses = $responsesQuery->query(); 119 $writer->write($survey, $sLanguageCode, $oOptions, true); 120 } 121 $result = $writer->close(); 122 123 // Close resultset if needed 124 if ($survey->responses instanceof CDbDataReader) { |
#4 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/application/controllers/admin/export.php(346): ExportSurveyResultsService->exportResponses() 341 } else { 342 $sFilter = ''; 343 } 344 345 viewHelper::disableHtmlLogging(); 346 $resultsService->exportResponses($iSurveyID, $explang, $sExportType, $options, $sFilter); 347 348 Yii::app()->end(); 349 } 350 351 /* |
#5 |
unknown(0): export->exportresults()
|
#6 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/framework/web/actions/CAction.php(115): ReflectionMethod->invokeArgs() 110 elseif($param->isDefaultValueAvailable()) 111 $ps[]=$param->getDefaultValue(); 112 else 113 return false; 114 } 115 $method->invokeArgs($object,$ps); 116 return true; 117 } 118 } |
#7 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/application/core/Survey_Common_Action.php(86): CAction->runWithParamsInternal() 81 $oMethod = new ReflectionMethod($this, $sDefault); 82 } 83 84 // We're all good to go, let's execute it 85 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 86 return parent::runWithParamsInternal($this, $oMethod, $params); 87 } 88 89 /** 90 * Some functions have different parameters, which are just an alias of the 91 * usual parameters we're getting in the url. This function just populates |
#8 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/framework/web/CController.php(308): Survey_Common_Action->runWithParams() 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
#9 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/framework/web/CController.php(286): CController->runAction() 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
#10 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/framework/web/CController.php(265): CController->runActionWithFilters() 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
#11 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/application/controllers/AdminController.php(202): CController->run() 197 } 198 199 $this->runModuleController($action); 200 201 202 return parent::run($action); 203 } 204 205 /** 206 * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers. 207 * |
#12 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/framework/web/CWebApplication.php(282): AdminController->run() 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
#13 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/framework/web/CWebApplication.php(141): CWebApplication->runController() 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
#14 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
#15 |
+
–
/home/clients/0c1e2cd5a73d4ed12d8a8e6b4a74b10a/sites/enquete.rra.ch/index.php(192): CApplication->run() 187 require_once APPPATH . 'core/LSYii_Application' . EXT; 188 189 $config = require_once(APPPATH . 'config/internal' . EXT); 190 191 Yii::$enableIncludePath = false; 192 Yii::createApplication('LSYii_Application', $config)->run(); 193 194 /* End of file index.php */ 195 /* Location: ./index.php */ |