A recovery script written after a family member’s NAS was hit by the WannaCry worm. It walks the encrypted drive, matches each encrypted file against a recent backup (keying on album and artist, since the surrounding folder structures differ), restores the originals, and cleans up the README_FOR_DECRYPT.txt ransom notes left behind.

View the source on GitHub