# SpotifyKeyDumper ### By [@ProfessorTox](https://twitter.com/ProfessorTox) [![Discord](https://img.shields.io/discord/782069040713039882.svg?color=7389D8&label=SpotifyKeyDumper%20&logo=discord&logoColor=FFFFFF)](https://discord.gg/yPFQ9epABz) Dump AES keys for Spotify songs from a compatible Windows Spotify version (compatibility listed below). **Now with automatic download support for songs and podcast episodes!** [**[Download Here]**](https://gitlab.com/fuck-capitalism/spotifykeydumper/-/releases) ## Using 1. Go to the "Releases" tab [here](https://gitlab.com/fuck-capitalism/spotifykeydumper/-/releases) and download the latest version of SpotifyKeyDumper.dll and SpotifyKeyDumperInjector.exe. 2. Go to `%appdata%\Spotify` (or wherever your Spotify installation is located). 3. Make sure `SpotifyKeyDumperInjector.exe` and `SpotifyKeyDumper.dll` are located in the same place as `Spotify.exe`. 4. Start SpotifyKeyDumperInjector (requires administrator) before launching Spotify. 5. Each song or podcast episode (after the first one) that plays will be automatically downloaded and placed under `%appdata%\Spotify\Downloads`. ## Compatibility * *Crossed out items support key dumping but not automatic downloading.* Spotify version: * 1.1.47 * 1.1.46 * 1.1.45 * ~~1.1.44~~ * ~~1.1.30~~ * ~~1.1.29~~ * ~~1.1.28~~ * ~~1.1.27~~ * ~~1.1.26~~ * ~~1.1.25~~ ## Building This project uses C++14 on Visual Studio 2019 with vcpkg: 1. [Install vcpkg](https://github.com/microsoft/vcpkg#quick-start-windows) if you haven't done so already 2. Install TagLib dependency with vcpkg (`vcpkg install taglib:x86-windows-static-md`) 3. Clone the repository (`git clone https://gitlab.com/fuck-capitalism/spotifykeydumper.git`) 4. Open the solution 'SpotifyKeyDumper.sln' in Visual Studio 2019 and set the configuration to Release and the platform to x86 and then select Build -> Build Solution **or** run MSBuild (requires Visual Studio 2019 installation): `msbuild /p:Configuration="Release" /p:Platform="x86"`. *If you want a specific version, create an issue.* ## Notes * Inspired by XSpotify * Tools used for research: IDA Pro, Ghidra, and Cheat Engine * This project was created for fun. Warning: I'm not very experienced with C++ :) * **This program was created for educational purposes. It is not intended to be used otherwise** ## License The MIT License (MIT)