* lol curse

This commit is contained in:
Dominika 2022-06-21 01:57:03 +02:00
parent f9afbe6d28
commit 70916a6f9c

View file

@ -4,11 +4,17 @@ if [[ -f token ]]; then
exit 0 exit 0
fi 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 #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 curseforge-latest-linux.zip
7z -y x *.AppImage #7z -y x *.AppImage
grep -Poh 'cfCoreApiKey":".*?"' resources/app/dist/desktop/desktop.js | sed 's/.*://;s/"//g' > ../token #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