├── .gitignore ├── .gitattributes ├── package.json ├── README.md ├── auth.js ├── index.js └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | test/ 3 | deviceAuth.json 4 | package-lock.json -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "aestool", 3 | "version": "1.0.0", 4 | "description": "A simple Node.js script to get AES keys for UEFN maps", 5 | "main": "index.js", 6 | "scripts": { 7 | "start": "node ." 8 | }, 9 | "author": "Krowe moh", 10 | "license": "CC-BY-NC-4.0", 11 | "dependencies": { 12 | "axios": "^1.11.0", 13 | "fs": "^0.0.1-security", 14 | "readline": "^1.3.0" 15 | } 16 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # UEFN AES Grabber 2 | 3 | A simple Node.js script to get AES for maps 4 | 5 | ## Prerequisites 6 | 7 | - Node.js 8 | 9 | --- 10 | 11 | ## Installation 12 | 13 | 1. Clone or download this repository. 14 | 2. Install dependencies: 15 | 16 | ```bash 17 | npm i 18 | ``` 19 | 20 | --- 21 | 22 | ## Usage 23 | 24 | 1. Run the script: 25 | 26 | ```bash 27 | node . 28 | ``` 29 | 30 | 2. When prompted, enter the **Map Code** (e.g. `6155-1398-4059`) and press Enter. 31 | 32 | 3. You'll need to enter the authentication site. Once authorized, the script will output: 33 | 34 | ``` 35 | AES Key: 0x4323390EC79FC7ADCB7574F8DD58763F36806CB33B80F4E32B3DDAA04B88351C 36 | GUID: a70e0ff5-8e7e-4977-89e9-f3fb36823453 37 | ``` 38 | --- 39 | 40 | 41 | ## Notes 42 | 43 | - All authentication is processed locally. 44 | - made this repo to prevent people from selling such stuff, i've seen many instances of people selling. 45 | - code is simple and may seem "unreadable" but it works. 46 | 47 | --- 48 | 49 | ## License 50 | 51 | This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0). 52 | -------------------------------------------------------------------------------- /auth.js: -------------------------------------------------------------------------------- 1 | const axios = require("axios"); 2 | const fs = require("fs"); 3 | 4 | function sleep(ms) { 5 | return new Promise((r) => setTimeout(r, ms)); 6 | } 7 | 8 | async function Login() { 9 | const { data: tokenResponse } = await axios.post("https://account-public-service-prod.ol.epicgames.com/account/api/oauth/token", new URLSearchParams({ grant_type: "client_credentials" }).toString(), { 10 | headers: { "Content-Type": "application/x-www-form-urlencoded", Authorization: `Basic NzlhOTMxYjM3NTMzNDU3MGFjMzY5MjM0ZjVkYTA1ZWM6ZWU3MzM1ZGYzYzRhNDEyY2I1NzA1NWFiN2FkZTY5M2U=` }, 11 | }); 12 | const { data: device } = await axios.post( 13 | "https://account-public-service-prod.ol.epicgames.com/account/api/oauth/deviceAuthorization", 14 | { prompt: "login" }, 15 | { headers: { "Content-Type": "application/x-www-form-urlencoded", Authorization: `Bearer ${tokenResponse.access_token}` } } 16 | ); 17 | 18 | console.log(`Authorize here ${device.verification_uri_complete}`); 19 | 20 | let token; 21 | const deadline = Date.now() + device.expires_in * 1000; 22 | while (Date.now() < deadline) { 23 | await sleep(device.interval * 100); 24 | 25 | try { 26 | const { data } = await axios.post( 27 | "https://account-public-service-prod.ol.epicgames.com/account/api/oauth/token", 28 | new URLSearchParams({ 29 | grant_type: "device_code", 30 | device_code: device.device_code, 31 | }).toString(), 32 | { 33 | headers: { 34 | "Content-Type": "application/x-www-form-urlencoded", 35 | Authorization: "Basic NzlhOTMxYjM3NTMzNDU3MGFjMzY5MjM0ZjVkYTA1ZWM6ZWU3MzM1ZGYzYzRhNDEyY2I1NzA1NWFiN2FkZTY5M2U=", 36 | }, 37 | } 38 | ); 39 | token = data; 40 | break; 41 | } catch { 42 | // Ignore 43 | } 44 | } 45 | 46 | if (!token) throw new Error("Login timed out."); 47 | 48 | console.log(`Logged in as account ${token.displayName}`); 49 | 50 | const request = await axios.get(`https://account-public-service-prod.ol.epicgames.com/account/api/oauth/exchange`, { 51 | headers: { 52 | Authorization: `Bearer ${token.access_token}`, 53 | }, 54 | }); 55 | 56 | const { data: tokenResponse2 } = await axios.post("https://account-public-service-prod.ol.epicgames.com/account/api/oauth/token", new URLSearchParams({ grant_type: "exchange_code", exchange_code: request.data.code }).toString(), { 57 | headers: { "Content-Type": "application/x-www-form-urlencoded", Authorization: `Basic M2Y2OWU1NmM3NjQ5NDkyYzhjYzI5ZjFhZjA4YThhMTI6YjUxZWU5Y2IxMjIzNGY1MGE2OWVmYTY3ZWY1MzgxMmU=` }, 58 | }); 59 | 60 | const { data: deviceAuth } = await axios.post(`https://account-public-service-prod.ol.epicgames.com/account/api/public/account/${token.account_id}/deviceAuth`, {}, { headers: { Authorization: `Bearer ${tokenResponse2.access_token}` } }); 61 | 62 | const output = { 63 | displayName: token.displayName, 64 | accountId: token.account_id, 65 | deviceId: deviceAuth.deviceId, 66 | secret: deviceAuth.secret, 67 | }; 68 | 69 | fs.writeFileSync("deviceAuth.json", JSON.stringify(output, null, 4)); 70 | return token; 71 | } 72 | 73 | module.exports = { Login }; 74 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | const { Login } = require("./auth"); 2 | const axios = require("axios"); 3 | const fs = require("fs"); 4 | const readline = require("readline"); 5 | 6 | (async () => { 7 | try { 8 | let savedAuth = null; 9 | 10 | if (fs.existsSync("deviceAuth.json")) { 11 | try { 12 | savedAuth = JSON.parse(fs.readFileSync("deviceAuth.json", "utf8")); 13 | } catch { 14 | console.warn("Invalid JSON, will re-login…"); 15 | savedAuth = null; 16 | } 17 | } 18 | 19 | if (savedAuth) { 20 | const headers = { 21 | "Content-Type": "application/x-www-form-urlencoded", 22 | Authorization: "Basic M2Y2OWU1NmM3NjQ5NDkyYzhjYzI5ZjFhZjA4YThhMTI6YjUxZWU5Y2IxMjIzNGY1MGE2OWVmYTY3ZWY1MzgxMmU=", 23 | }; 24 | 25 | try { 26 | const { data } = await axios.post( 27 | "https://account-public-service-prod.ol.epicgames.com/account/api/oauth/token", 28 | new URLSearchParams({ 29 | grant_type: "device_auth", 30 | account_id: savedAuth.accountId, 31 | device_id: savedAuth.deviceId, 32 | secret: savedAuth.secret, 33 | token_type: "eg1", 34 | }), 35 | { headers } 36 | ); 37 | savedAuth = data; 38 | } catch { 39 | console.warn("Device auth expired, re-logging…"); 40 | savedAuth = null; 41 | } 42 | } 43 | 44 | if (!savedAuth) savedAuth = await Login(); 45 | 46 | const request = await axios.get(`https://account-public-service-prod.ol.epicgames.com/account/api/oauth/exchange`, { 47 | headers: { 48 | Authorization: `Bearer ${savedAuth.access_token}`, 49 | }, 50 | }); 51 | 52 | const { data: tokenResponse2 } = await axios.post("https://account-public-service-prod.ol.epicgames.com/account/api/oauth/token", new URLSearchParams({ grant_type: "exchange_code", exchange_code: request.data.code }).toString(), { 53 | headers: { "Content-Type": "application/x-www-form-urlencoded", Authorization: `Basic M2UxM2M1YzU3ZjU5NGE1NzhhYmU1MTZlZWNiNjczZmU6NTMwZTMxNmMzMzdlNDA5ODkzYzU1ZWM0NGYyMmNkNjI=` }, 54 | }); 55 | 56 | savedAuth = tokenResponse2; 57 | 58 | const rl = readline.createInterface({ 59 | input: process.stdin, 60 | output: process.stdout, 61 | }); 62 | const mapCode = await new Promise((resolve) => 63 | rl.question("Enter the map code: ", (answer) => { 64 | rl.close(); 65 | resolve(answer.trim()); 66 | }) 67 | ); 68 | if (!mapCode) throw new Error("Map code cannot be empty"); 69 | 70 | const { data: mappingsData } = await axios.get("https://fortnitecentral.genxgames.gg/api/v1/mappings"); 71 | const versionMatch = mappingsData?.version.match(/Release-(\d+)\.(\d+)-CL-(\d+)/); 72 | const [major, minor, cl] = versionMatch.slice(1); 73 | 74 | const { data } = await axios.get(`https://content-service.bfda.live.use1a.on.epicgames.com/api/content/v2/link/${mapCode}/cooked-content-package?role=client&platform=windows&major=${major}&minor=${minor}&patch=${cl}`, { 75 | headers: { Authorization: `bearer ${savedAuth.access_token}` }, 76 | }); 77 | 78 | if (data.isEncrypted) { 79 | const keyResponse = await axios.post("https://content-service.bfda.live.use1a.on.epicgames.com/api/content/v4/module/key/batch", [{ moduleId: data.resolved.root.moduleId, version: data.resolved.root.version }], { 80 | headers: { 81 | Authorization: `bearer ${savedAuth.access_token || savedAuth.secret}`, 82 | "Content-Type": "application/json", 83 | }, 84 | }); 85 | console.log(`AES Key: 0x${Buffer.from(keyResponse.data[0].key.Key, "base64").toString("hex").toUpperCase()}`); 86 | console.log(`GUID: ${keyResponse.data[0].key.Guid}`); 87 | } else { 88 | console.error("Map is not encrypted"); 89 | } 90 | } catch (err) { 91 | if (err.response?.data?.errorCode === "errors.com.epicgames.content-service.unexpected_link_type") { 92 | console.error("1.0 maps have no encryption and can't be downloaded"); 93 | } else { 94 | console.error("Error:", err.response?.data || err.message || err); 95 | } 96 | } 97 | })(); 98 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | SPDX-License-Identifier: CC-BY-NC-4.0 2 | 3 | Attribution-NonCommercial 4.0 International 4 | 5 | ======================================================================= 6 | 7 | Creative Commons Corporation ("Creative Commons") is not a law firm and 8 | does not provide legal services or legal advice. Distribution of 9 | Creative Commons public licenses does not create a lawyer-client or 10 | other relationship. Creative Commons makes its licenses and related 11 | information available on an "as-is" basis. Creative Commons gives no 12 | warranties regarding its licenses, any material licensed under their 13 | terms and conditions, or any related information. Creative Commons 14 | disclaims all liability for damages resulting from their use to the 15 | fullest extent possible. 16 | 17 | Using Creative Commons Public Licenses 18 | 19 | Creative Commons public licenses provide a standard set of terms and 20 | conditions that creators and other rights holders may use to share 21 | original works of authorship and other material subject to copyright 22 | and certain other rights specified in the public license below. The 23 | following considerations are for informational purposes only, are not 24 | exhaustive, and do not form part of our licenses. 25 | 26 | Considerations for licensors: Our public licenses are 27 | intended for use by those authorized to give the public 28 | permission to use material in ways otherwise restricted by 29 | copyright and certain other rights. Our licenses are 30 | irrevocable. Licensors should read and understand the terms 31 | and conditions of the license they choose before applying it. 32 | Licensors should also secure all rights necessary before 33 | applying our licenses so that the public can reuse the 34 | material as expected. Licensors should clearly mark any 35 | material not subject to the license. This includes other CC- 36 | licensed material, or material used under an exception or 37 | limitation to copyright. More considerations for licensors: 38 | wiki.creativecommons.org/Considerations_for_licensors 39 | 40 | Considerations for the public: By using one of our public 41 | licenses, a licensor grants the public permission to use the 42 | licensed material under specified terms and conditions. If 43 | the licensor's permission is not necessary for any reason--for 44 | example, because of any applicable exception or limitation to 45 | copyright--then that use is not regulated by the license. Our 46 | licenses grant only permissions under copyright and certain 47 | other rights that a licensor has authority to grant. Use of 48 | the licensed material may still be restricted for other 49 | reasons, including because others have copyright or other 50 | rights in the material. A licensor may make special requests, 51 | such as asking that all changes be marked or described. 52 | Although not required by our licenses, you are encouraged to 53 | respect those requests where reasonable. More considerations 54 | for the public: 55 | wiki.creativecommons.org/Considerations_for_licensees 56 | 57 | ======================================================================= 58 | 59 | Creative Commons Attribution-NonCommercial 4.0 International Public 60 | License 61 | 62 | By exercising the Licensed Rights (defined below), You accept and agree 63 | to be bound by the terms and conditions of this Creative Commons 64 | Attribution-NonCommercial 4.0 International Public License ("Public 65 | License"). To the extent this Public License may be interpreted as a 66 | contract, You are granted the Licensed Rights in consideration of Your 67 | acceptance of these terms and conditions, and the Licensor grants You 68 | such rights in consideration of benefits the Licensor receives from 69 | making the Licensed Material available under these terms and 70 | conditions. 71 | 72 | 73 | Section 1 -- Definitions. 74 | 75 | a. Adapted Material means material subject to Copyright and Similar 76 | Rights that is derived from or based upon the Licensed Material 77 | and in which the Licensed Material is translated, altered, 78 | arranged, transformed, or otherwise modified in a manner requiring 79 | permission under the Copyright and Similar Rights held by the 80 | Licensor. For purposes of this Public License, where the Licensed 81 | Material is a musical work, performance, or sound recording, 82 | Adapted Material is always produced where the Licensed Material is 83 | synched in timed relation with a moving image. 84 | 85 | b. Adapter's License means the license You apply to Your Copyright 86 | and Similar Rights in Your contributions to Adapted Material in 87 | accordance with the terms and conditions of this Public License. 88 | 89 | c. Copyright and Similar Rights means copyright and/or similar rights 90 | closely related to copyright including, without limitation, 91 | performance, broadcast, sound recording, and Sui Generis Database 92 | Rights, without regard to how the rights are labeled or 93 | categorized. For purposes of this Public License, the rights 94 | specified in Section 2(b)(1)-(2) are not Copyright and Similar 95 | Rights. 96 | d. Effective Technological Measures means those measures that, in the 97 | absence of proper authority, may not be circumvented under laws 98 | fulfilling obligations under Article 11 of the WIPO Copyright 99 | Treaty adopted on December 20, 1996, and/or similar international 100 | agreements. 101 | 102 | e. Exceptions and Limitations means fair use, fair dealing, and/or 103 | any other exception or limitation to Copyright and Similar Rights 104 | that applies to Your use of the Licensed Material. 105 | 106 | f. Licensed Material means the artistic or literary work, database, 107 | or other material to which the Licensor applied this Public 108 | License. 109 | 110 | g. Licensed Rights means the rights granted to You subject to the 111 | terms and conditions of this Public License, which are limited to 112 | all Copyright and Similar Rights that apply to Your use of the 113 | Licensed Material and that the Licensor has authority to license. 114 | 115 | h. Licensor means the individual(s) or entity(ies) granting rights 116 | under this Public License. 117 | 118 | i. NonCommercial means not primarily intended for or directed towards 119 | commercial advantage or monetary compensation. For purposes of 120 | this Public License, the exchange of the Licensed Material for 121 | other material subject to Copyright and Similar Rights by digital 122 | file-sharing or similar means is NonCommercial provided there is 123 | no payment of monetary compensation in connection with the 124 | exchange. 125 | 126 | j. Share means to provide material to the public by any means or 127 | process that requires permission under the Licensed Rights, such 128 | as reproduction, public display, public performance, distribution, 129 | dissemination, communication, or importation, and to make material 130 | available to the public including in ways that members of the 131 | public may access the material from a place and at a time 132 | individually chosen by them. 133 | 134 | k. Sui Generis Database Rights means rights other than copyright 135 | resulting from Directive 96/9/EC of the European Parliament and of 136 | the Council of 11 March 1996 on the legal protection of databases, 137 | as amended and/or succeeded, as well as other essentially 138 | equivalent rights anywhere in the world. 139 | 140 | l. You means the individual or entity exercising the Licensed Rights 141 | under this Public License. Your has a corresponding meaning. 142 | 143 | 144 | Section 2 -- Scope. 145 | 146 | a. License grant. 147 | 148 | 1. Subject to the terms and conditions of this Public License, 149 | the Licensor hereby grants You a worldwide, royalty-free, 150 | non-sublicensable, non-exclusive, irrevocable license to 151 | exercise the Licensed Rights in the Licensed Material to: 152 | 153 | a. reproduce and Share the Licensed Material, in whole or 154 | in part, for NonCommercial purposes only; and 155 | 156 | b. produce, reproduce, and Share Adapted Material for 157 | NonCommercial purposes only. 158 | 159 | 2. Exceptions and Limitations. For the avoidance of doubt, where 160 | Exceptions and Limitations apply to Your use, this Public 161 | License does not apply, and You do not need to comply with 162 | its terms and conditions. 163 | 164 | 3. Term. The term of this Public License is specified in Section 165 | 6(a). 166 | 167 | 4. Media and formats; technical modifications allowed. The 168 | Licensor authorizes You to exercise the Licensed Rights in 169 | all media and formats whether now known or hereafter created, 170 | and to make technical modifications necessary to do so. The 171 | Licensor waives and/or agrees not to assert any right or 172 | authority to forbid You from making technical modifications 173 | necessary to exercise the Licensed Rights, including 174 | technical modifications necessary to circumvent Effective 175 | Technological Measures. For purposes of this Public License, 176 | simply making modifications authorized by this Section 2(a) 177 | (4) never produces Adapted Material. 178 | 179 | 5. Downstream recipients. 180 | 181 | a. Offer from the Licensor -- Licensed Material. Every 182 | recipient of the Licensed Material automatically 183 | receives an offer from the Licensor to exercise the 184 | Licensed Rights under the terms and conditions of this 185 | Public License. 186 | 187 | b. No downstream restrictions. You may not offer or impose 188 | any additional or different terms or conditions on, or 189 | apply any Effective Technological Measures to, the 190 | Licensed Material if doing so restricts exercise of the 191 | Licensed Rights by any recipient of the Licensed 192 | Material. 193 | 194 | 6. No endorsement. Nothing in this Public License constitutes or 195 | may be construed as permission to assert or imply that You 196 | are, or that Your use of the Licensed Material is, connected 197 | with, or sponsored, endorsed, or granted official status by, 198 | the Licensor or others designated to receive attribution as 199 | provided in Section 3(a)(1)(A)(i). 200 | 201 | b. Other rights. 202 | 203 | 1. Moral rights, such as the right of integrity, are not 204 | licensed under this Public License, nor are publicity, 205 | privacy, and/or other similar personality rights; however, to 206 | the extent possible, the Licensor waives and/or agrees not to 207 | assert any such rights held by the Licensor to the limited 208 | extent necessary to allow You to exercise the Licensed 209 | Rights, but not otherwise. 210 | 211 | 2. Patent and trademark rights are not licensed under this 212 | Public License. 213 | 214 | 3. To the extent possible, the Licensor waives any right to 215 | collect royalties from You for the exercise of the Licensed 216 | Rights, whether directly or through a collecting society 217 | under any voluntary or waivable statutory or compulsory 218 | licensing scheme. In all other cases the Licensor expressly 219 | reserves any right to collect such royalties, including when 220 | the Licensed Material is used other than for NonCommercial 221 | purposes. 222 | 223 | 224 | Section 3 -- License Conditions. 225 | 226 | Your exercise of the Licensed Rights is expressly made subject to the 227 | following conditions. 228 | 229 | a. Attribution. 230 | 231 | 1. If You Share the Licensed Material (including in modified 232 | form), You must: 233 | 234 | a. retain the following if it is supplied by the Licensor 235 | with the Licensed Material: 236 | 237 | i. identification of the creator(s) of the Licensed 238 | Material and any others designated to receive 239 | attribution, in any reasonable manner requested by 240 | the Licensor (including by pseudonym if 241 | designated); 242 | 243 | ii. a copyright notice; 244 | 245 | iii. a notice that refers to this Public License; 246 | 247 | iv. a notice that refers to the disclaimer of 248 | warranties; 249 | 250 | v. a URI or hyperlink to the Licensed Material to the 251 | extent reasonably practicable; 252 | 253 | b. indicate if You modified the Licensed Material and 254 | retain an indication of any previous modifications; and 255 | 256 | c. indicate the Licensed Material is licensed under this 257 | Public License, and include the text of, or the URI or 258 | hyperlink to, this Public License. 259 | 260 | 2. You may satisfy the conditions in Section 3(a)(1) in any 261 | reasonable manner based on the medium, means, and context in 262 | which You Share the Licensed Material. For example, it may be 263 | reasonable to satisfy the conditions by providing a URI or 264 | hyperlink to a resource that includes the required 265 | information. 266 | 267 | 3. If requested by the Licensor, You must remove any of the 268 | information required by Section 3(a)(1)(A) to the extent 269 | reasonably practicable. 270 | 271 | 4. If You Share Adapted Material You produce, the Adapter's 272 | License You apply must not prevent recipients of the Adapted 273 | Material from complying with this Public License. 274 | 275 | 276 | Section 4 -- Sui Generis Database Rights. 277 | 278 | Where the Licensed Rights include Sui Generis Database Rights that 279 | apply to Your use of the Licensed Material: 280 | 281 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right 282 | to extract, reuse, reproduce, and Share all or a substantial 283 | portion of the contents of the database for NonCommercial purposes 284 | only; 285 | 286 | b. if You include all or a substantial portion of the database 287 | contents in a database in which You have Sui Generis Database 288 | Rights, then the database in which You have Sui Generis Database 289 | Rights (but not its individual contents) is Adapted Material; and 290 | 291 | c. You must comply with the conditions in Section 3(a) if You Share 292 | all or a substantial portion of the contents of the database. 293 | 294 | For the avoidance of doubt, this Section 4 supplements and does not 295 | replace Your obligations under this Public License where the Licensed 296 | Rights include other Copyright and Similar Rights. 297 | 298 | 299 | Section 5 -- Disclaimer of Warranties and Limitation of Liability. 300 | 301 | a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE 302 | EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS 303 | AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF 304 | ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, 305 | IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, 306 | WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR 307 | PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, 308 | ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT 309 | KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT 310 | ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. 311 | 312 | b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE 313 | TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, 314 | NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, 315 | INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, 316 | COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR 317 | USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN 318 | ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR 319 | DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR 320 | IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. 321 | 322 | c. The disclaimer of warranties and limitation of liability provided 323 | above shall be interpreted in a manner that, to the extent 324 | possible, most closely approximates an absolute disclaimer and 325 | waiver of all liability. 326 | 327 | 328 | Section 6 -- Term and Termination. 329 | 330 | a. This Public License applies for the term of the Copyright and 331 | Similar Rights licensed here. However, if You fail to comply with 332 | this Public License, then Your rights under this Public License 333 | terminate automatically. 334 | 335 | b. Where Your right to use the Licensed Material has terminated under 336 | Section 6(a), it reinstates: 337 | 338 | 1. automatically as of the date the violation is cured, provided 339 | it is cured within 30 days of Your discovery of the 340 | violation; or 341 | 342 | 2. upon express reinstatement by the Licensor. 343 | 344 | For the avoidance of doubt, this Section 6(b) does not affect any 345 | right the Licensor may have to seek remedies for Your violations 346 | of this Public License. 347 | 348 | c. For the avoidance of doubt, the Licensor may also offer the 349 | Licensed Material under separate terms or conditions or stop 350 | distributing the Licensed Material at any time; however, doing so 351 | will not terminate this Public License. 352 | 353 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public 354 | License. 355 | 356 | 357 | Section 7 -- Other Terms and Conditions. 358 | 359 | a. The Licensor shall not be bound by any additional or different 360 | terms or conditions communicated by You unless expressly agreed. 361 | 362 | b. Any arrangements, understandings, or agreements regarding the 363 | Licensed Material not stated herein are separate from and 364 | independent of the terms and conditions of this Public License. 365 | 366 | 367 | Section 8 -- Interpretation. 368 | 369 | a. For the avoidance of doubt, this Public License does not, and 370 | shall not be interpreted to, reduce, limit, restrict, or impose 371 | conditions on any use of the Licensed Material that could lawfully 372 | be made without permission under this Public License. 373 | 374 | b. To the extent possible, if any provision of this Public License is 375 | deemed unenforceable, it shall be automatically reformed to the 376 | minimum extent necessary to make it enforceable. If the provision 377 | cannot be reformed, it shall be severed from this Public License 378 | without affecting the enforceability of the remaining terms and 379 | conditions. 380 | 381 | c. No term or condition of this Public License will be waived and no 382 | failure to comply consented to unless expressly agreed to by the 383 | Licensor. 384 | 385 | d. Nothing in this Public License constitutes or may be interpreted 386 | as a limitation upon, or waiver of, any privileges and immunities 387 | that apply to the Licensor or You, including from the legal 388 | processes of any jurisdiction or authority. 389 | 390 | ======================================================================= 391 | 392 | Creative Commons is not a party to its public 393 | licenses. Notwithstanding, Creative Commons may elect to apply one of 394 | its public licenses to material it publishes and in those instances 395 | will be considered the “Licensor.” The text of the Creative Commons 396 | public licenses is dedicated to the public domain under the CC0 Public 397 | Domain Dedication. Except for the limited purpose of indicating that 398 | material is shared under a Creative Commons public license or as 399 | otherwise permitted by the Creative Commons policies published at 400 | creativecommons.org/policies, Creative Commons does not authorize the 401 | use of the trademark "Creative Commons" or any other trademark or logo 402 | of Creative Commons without its prior written consent including, 403 | without limitation, in connection with any unauthorized modifications 404 | to any of its public licenses or any other arrangements, 405 | understandings, or agreements concerning use of licensed material. For 406 | the avoidance of doubt, this paragraph does not form part of the 407 | public licenses. 408 | 409 | Creative Commons may be contacted at creativecommons.org. --------------------------------------------------------------------------------