diff --git a/getToken.sh b/getToken.sh index 442883c..ccc01c3 100755 --- a/getToken.sh +++ b/getToken.sh @@ -4,11 +4,17 @@ if [[ -f token ]]; then exit 0 fi -mkdir -p wrk; cd wrk +## slowwwwwww, but works +#mkdir -p wrk; cd wrk -curl -O https://curseforge.overwolf.com/downloads/curseforge-latest-linux.zip -7z -y x curseforge-latest-linux.zip -7z -y x *.AppImage -grep -Poh 'cfCoreApiKey":".*?"' resources/app/dist/desktop/desktop.js | sed 's/.*://;s/"//g' > ../token +#curl -L -O https://web.archive.org/web/20220519222137/https://curseforge.overwolf.com/downloads/curseforge-latest-linux.zip +#7z -y x curseforge-latest-linux.zip +#7z -y x *.AppImage +#grep -Poh 'cfCoreApiKey":".*?"' resources/app/dist/desktop/desktop.js | sed 's/.*://;s/"//g' > ../token -cd ..; rm -R wrk +#cd ..; rm -R wrk + +## I've been reversing the new API key storage for a few hours and found out that you didn't change the token +## you can rickroll me all you'd like, it's not like I'll care ;3 + +curl https://arch.b4k.co/vg/thread/388569358 | grep -Poh "and put .*? " | sed -E 's/.{8}//' > token