File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,17 +25,18 @@ openssl rsa -in private_key.pem -pubout -out public_key.pem
2525Update the ` PUB_KEY_PEM ` variable in ` encrypt_cookie.js ` .
2626
2727Get 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
4142export COOKIES_PRIVATE_KEY=private key in PEM format
You can’t perform that action at this time.
0 commit comments