/var/www/html/limesurvey-4.1.8/application/third_party/sodium_compat/src/Core/Ed25519.php(197)
185 */ 186 public static function sign_open($message, $pk) 187 { 188 /** @var string $signature */ 189 $signature = self::substr($message, 0, 64); 190 191 /** @var string $message */ 192 $message = self::substr($message, 64); 193 194 if (self::verify_detached($signature, $message, $pk)) { 195 return $message; 196 } 197 throw new SodiumException('Invalid signature'); 198 } 199 200 /** 201 * @internal You should not use this directly from another application 202 * 203 * @param string $message 204 * @param string $sk 205 * @return string 206 * @throws SodiumException 207 * @throws TypeError 208 */ 209 public static function sign_detached($message, $sk)
#0 |
+
–
/var/www/html/limesurvey-4.1.8/application/third_party/sodium_compat/src/Crypto.php(1233): ParagonIE_Sodium_Core_Ed25519::sign_open() 1228 * @throws SodiumException 1229 * @throws TypeError 1230 */ 1231 public static function sign_open($signedMessage, $pk) 1232 { 1233 return ParagonIE_Sodium_Core_Ed25519::sign_open($signedMessage, $pk); 1234 } 1235 1236 /** 1237 * Verify a detached signature of a given message and public key. 1238 * |
#1 |
+
–
/var/www/html/limesurvey-4.1.8/application/third_party/sodium_compat/src/Compat.php(2088): ParagonIE_Sodium_Crypto::sign_open() 2083 return call_user_func('\\Sodium\\crypto_sign_open', $signedMessage, $publicKey); 2084 } 2085 if (PHP_INT_SIZE === 4) { 2086 return ParagonIE_Sodium_Crypto32::sign_open($signedMessage, $publicKey); 2087 } 2088 return ParagonIE_Sodium_Crypto::sign_open($signedMessage, $publicKey); 2089 } 2090 2091 /** 2092 * Generate a new random Ed25519 keypair. 2093 * |
#2 |
+
–
/var/www/html/limesurvey-4.1.8/application/core/LSSodium.php(110): ParagonIE_Sodium_Compat::crypto_sign_open() 105 * @return string Return decrypted value (string or unsezialized object) if suceeded. Return FALSE if an error occurs (bad password/salt given) or inpyt encryptedString 106 */ 107 public function decrypt($sEncryptedString, $bReturnFalseIfError=false){ 108 if ($this->bLibraryExists === true){ 109 if (!empty($sEncryptedString) && $sEncryptedString != 'null'){ 110 $plaintext = ParagonIE_Sodium_Compat::crypto_sign_open(base64_decode($sEncryptedString), $this->sEncryptionPublicKey); 111 if ($plaintext === false){ 112 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')); 113 } else { 114 return $plaintext; 115 } |
#3 |
+
–
/var/www/html/limesurvey-4.1.8/application/models/LSActiveRecord.php(353): LSSodium->decrypt("eoXd/gGjSKFClhW1jiKNKzNMk6P2sJ4PZN6CL1na4y8l5rNokwxxzaXFGrushZNn...") 348 // if $value is provided, it would decrypt 349 if (!empty($value)){ 350 351 // load sodium library 352 $sodium = Yii::app()->sodium; 353 return $sodium->decrypt($value); 354 } 355 } 356 357 358 /** |
#4 |
+
–
/var/www/html/limesurvey-4.1.8/application/core/LimeMailer.php(131): LSActiveRecord::decryptSingle("eoXd/gGjSKFClhW1jiKNKzNMk6P2sJ4PZN6CL1na4y8l5rNokwxxzaXFGrushZNn...") 126 parent::__construct($exceptions); 127 /* Global configuration for ALL email of this LimeSurvey instance */ 128 $emailmethod = Yii::app()->getConfig('emailmethod'); 129 $emailsmtphost = Yii::app()->getConfig("emailsmtphost"); 130 $emailsmtpuser = Yii::app()->getConfig("emailsmtpuser"); 131 $emailsmtppassword = LSActiveRecord::decryptSingle(Yii::app()->getConfig("emailsmtppassword")); 132 $emailsmtpdebug = Yii::app()->getConfig("emailsmtpdebug"); 133 $emailsmtpssl = Yii::app()->getConfig("emailsmtpssl"); 134 $defaultlang = Yii::app()->getConfig("defaultlang"); 135 $emailcharset = Yii::app()->getConfig("emailcharset"); 136 |
#5 |
+
–
/var/www/html/limesurvey-4.1.8/application/helpers/frontend_helper.php(430): LimeMailer->__construct() 425 if ($quotaexit == false) { 426 if ($token && trim(strip_tags($thissurvey['email_confirm'])) != "" && $thissurvey['sendconfirmation'] == "Y") { 427 $sToAddress = validateEmailAddresses($token->email); 428 if ($sToAddress) { 429 templatereplace("{SID}",$thissurvey); /* Force a replacement to fill coreReplacement like {SURVEYRESOURCESURL} for example */ 430 $mail = new \LimeMailer; 431 $mail->setSurvey($surveyid); 432 $mail->setToken($token->token); 433 $mail->setTypeWithRaw('confirm',Yii::app()->getLanguage()); 434 $mail->replaceTokenAttributes = true; 435 $mail->addUrlsPlaceholders(array('SURVEY')); |
#6 |
+
–
/var/www/html/limesurvey-4.1.8/application/helpers/SurveyRuntimeHelper.php(1250): submittokens() 1245 $this->aSurveyInfo['aCompleted']['sEndText'] = $this->processString($this->aSurveyInfo['surveyls_endtext'], 3,1); 1246 } 1247 1248 //Update the token if needed and send a confirmation email 1249 if ($surveyActive && $oSurvey->getHasTokensTable()) { 1250 submittokens(); 1251 } 1252 //Send notifications 1253 if($surveyActive) { 1254 sendSubmitNotifications($this->iSurveyid); 1255 } |
#7 |
+
–
/var/www/html/limesurvey-4.1.8/application/helpers/SurveyRuntimeHelper.php(217): SurveyRuntimeHelper->moveSubmitIfNeeded() 212 // TODO: move somewhere else 213 $this->setNotAnsweredAndNotValidated(); 214 } else { 215 $this->setPreview(); 216 } 217 $this->moveSubmitIfNeeded(); 218 $this->setGroup(); 219 $this->fixMaxStep(); 220 221 //****************************************************************************************************** 222 //PRESENT SURVEY |
#8 |
+
–
/var/www/html/limesurvey-4.1.8/application/controllers/survey/index.php(604): SurveyRuntimeHelper->run("617545",
array("surveyid" => "617545", "thissurvey" => array("htmlemail"
=> "N", "format" => "G", "tokenencryptionoptions" => "{
"enabled":"Y","columns":{ "firstname":"N","lastname":"N","emai...",
"template" => "fruity", ...), "thisstep" => "1", "clienttoken"
=> "mops", ...)) 599 unset($redata); 600 $redata = compact(array_keys(get_defined_vars())); 601 Yii::import('application.helpers.SurveyRuntimeHelper'); 602 $tmp = new SurveyRuntimeHelper(); 603 // try { 604 $tmp->run($surveyid, $redata); 605 // } catch (WrongTemplateVersionException $ex) { 606 // echo $ex->getMessage(); 607 // } 608 } 609 |
#9 |
+
–
/var/www/html/limesurvey-4.1.8/application/controllers/survey/index.php(24): index->action() 19 public $oTemplate; 20 21 public function run() 22 { 23 useFirebug(); 24 $this->action(); 25 } 26 27 public function action() 28 { 29 global $surveyid; |
#10 |
+
–
/var/www/html/limesurvey-4.1.8/framework/web/actions/CAction.php(76): index->run() 71 { 72 $method=new ReflectionMethod($this, 'run'); 73 if($method->getNumberOfParameters()>0) 74 return $this->runWithParamsInternal($this, $method, $params); 75 76 $this->run(); 77 return true; 78 } 79 80 /** 81 * Executes a method of an object with the supplied named parameters. |
#11 |
+
–
/var/www/html/limesurvey-4.1.8/framework/web/CController.php(308): CAction->runWithParams(array("r" => "survey/index", "sid" => "617545")) 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; |
#12 |
+
–
/var/www/html/limesurvey-4.1.8/framework/web/CController.php(286): CController->runAction(index) 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(); |
#13 |
+
–
/var/www/html/limesurvey-4.1.8/framework/web/CController.php(265): CController->runActionWithFilters(index, array()) 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); |
#14 |
+
–
/var/www/html/limesurvey-4.1.8/framework/web/CWebApplication.php(282): CController->run("index") 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))); |
#15 |
+
–
/var/www/html/limesurvey-4.1.8/framework/web/CWebApplication.php(141): CWebApplication->runController("survey/index") 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. |
#16 |
+
–
/var/www/html/limesurvey-4.1.8/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 /** |
#17 |
+
–
/var/www/html/limesurvey-4.1.8/index.php(195): CApplication->run() 190 require_once APPPATH . 'core/LSYii_Application' . EXT; 191 192 $config = require_once(APPPATH . 'config/internal' . EXT); 193 194 Yii::$enableIncludePath = false; 195 Yii::createApplication('LSYii_Application', $config)->run(); 196 197 /* End of file index.php */ 198 /* Location: ./index.php */ |