Skip to content

Commit 7a3f23d

Browse files
authored
Fixed cookies instructions in README for kos-loader
1 parent 3f64527 commit 7a3f23d

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

kos-loader/README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,18 @@ openssl rsa -in private_key.pem -pubout -out public_key.pem
2525
Update the `PUB_KEY_PEM` variable in `encrypt_cookie.js`.
2626

2727
Get cookies from browser:
28-
* 1. Open kos.cvut.cz in browser
29-
* 2. Login
30-
* 3. Open developer console (F12)
31-
* 4. Open Application tab -> Cookies -> https://kos.cvut.cz
32-
* 5. Open Console
33-
* 6. Paste this code in console
34-
* 7. Run `await encryptCookie('<YOUR_COOKIE_VALUE>')` with copy-pasted cookie values for cookies:
35-
* - JSESSIONID
36-
* - XSRF-TOKEN
37-
* 8. Copy the output values and use them as encrypted cookies in kos-loader
38-
28+
1. Open kos.cvut.cz in browser
29+
2. Login
30+
3. Open developer console (F12)
31+
4. Open Application tab -> Cookies -> https://kos.cvut.cz
32+
5. Open Console
33+
6. Paste this code in console
34+
7. Run `await encryptCookie('<YOUR_COOKIE_VALUE>')` with copy-pasted cookie values for each cookie:
35+
- `JSESSIONID`
36+
- `XSRF-TOKEN`
37+
- `BIGipServerFARM-IS-STUD-NEWKOS-HTTPS`
38+
- `msal.cache.encryption`
39+
8. Copy the output values and use them as encrypted cookies in kos-loader
3940

4041
```bash
4142
export COOKIES_PRIVATE_KEY=private key in PEM format

0 commit comments

Comments
 (0)