Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- PARRENT=$(pwd)
- printf "Cracking Audible's DRM encryption... "
- HASH=$(ffprobe $1 2>&1 | grep 'file checksum == ' | awk -F ' == ' '{print $2}')
- cd ~/rainbowcrack
- unzip -q -d /media/ramdisk/ tables.zip
- CODE=$(./rcrack /media/ramdisk/ -h $HASH | grep 'hex:' | awk -F ':' '{print $2}')
- rm -drf /media/ramdisk/tables
- printf "Your activation code is: \033[0;31m$CODE\033[0m\nStarting playback...\n"
- cd $PARRENT
- ffplay -activation_bytes $CODE $1
- # Simple command line to remux DRM protected Audible files and remove DRM-protection (XXXXXXXX must be replaced with the given activation code):
- # ffmpeg -y -activation_bytes XXXXXXXX -i infile.aax -map_metadata 0 -id3v2_version 3 -codec:a copy -vn outfile.m4b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement