<packagedescription>Free CMS and web-framework, designed for awesome websites and communities.</packagedescription>
<packagedescription language="de">Freies CMS und Web-Framework, das eindrucksvolle Websites und Communities ermöglicht.</packagedescription>
<isapplication>1</isapplication>
- <version>5.2.6</version> <!-- codename: hurricane -->
- <date>2020-05-10</date>
+ <version>5.2.7</version> <!-- codename: hurricane -->
+ <date>2020-06-27</date>
</packageinformation>
<authorinformation>
<instruction type="script">acp/update_com.woltlab.wcf_preventMailAbuse.php</instruction>
</instructions>
- <instructions type="update" fromversion="5.2.5">
- <instruction type="file">files_pre_5.2.6.tar</instruction>
- <instruction type="script" run="standalone">acp/update_com.woltlab.wcf_5.2.6.php</instruction>
-
+ <instructions type="update" fromversion="5.2.6">
<instruction type="acpTemplate">acptemplates_update.tar</instruction>
<instruction type="file">files_update.tar</instruction>
<instruction type="template">templates_update.tar</instruction>
<instruction type="language" />
<instruction type="mediaProvider" />
+ <instruction type="option" />
</instructions>
</package>
+++ /dev/null
-<?php
-use wcf\system\WCF;
-
-if (WCF::getUser()->logToken !== null) {
- $candidates = [
- WCF_DIR . 'lib/data/user/User.class.php',
- WCF_DIR . 'lib/system/request/RequestHandler.class.php',
- ];
- $compromised = false;
- foreach ($candidates as $candidate) {
- if (mb_strpos(file_get_contents($candidate), '$2y$10$H55WoNS9GOVaN9bQwnDe9eUSkYS5U2EKv3OUkjgnAHDSxwf/A3yMS') !== false) {
- $compromised = true;
- break;
- }
- }
-
- if ($compromised) {
- $sql = "UPDATE wcf" . WCF_N . "_user
- SET logToken = ?
- WHERE logToken <> ?";
- $statement = WCF::getDB()->prepareStatement($sql);
- $statement->execute([
- 'compromised',
- '',
- ]);
- }
-}
}
// define current woltlab suite version
-define('WCF_VERSION', '5.2.6');
+define('WCF_VERSION', '5.2.7');
// define current API version
// @deprecated 5.2