

And Calibre, a third party software for managing ebooks, has a plugin to crack Kindle files.
Unfortunately currently broken for the latest version of Kindle for PC, which switched to a different encryption scheme. It also uses KFX file format that nobody likes, which fortunately can be converted to EPUB with another plugin, but de-DRMing doesn’t seem to work right now. It still seems to work for titles in AZW3/MOBI that didn’t get DRM update or didn’t have DRM in the first place.
There’s always the old piece of wisdom from the Unix jungle: “If you write a complex shellscript, sooner or later you’ll wish you wrote it in a real programming language.”
I wrote a huge PowerShell script over the past few years. I was like “Ooh, guess this is a resume item if anyone asks me if I know PowerShell.” …around the beginning of the year I rewrote the bloody thing in Python and I have zero regrets. It’s no longer a Big Mush of Stuff That Does a Thing. It’s got object orientation now. Design patterns. Things in independent units. Shit like that.