+ token stealer

meow
Dominika Liberda 2022-05-19 05:47:27 +02:00
commit f931809f76
1 changed files with 14 additions and 0 deletions

14
getToken.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
if [[ -f token ]]; then
echo "The token file already exists. Skipping..."
exit 0
fi
mkdir -p wrk; cd wrk
wget 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