RSDF Files - How to Decrypt / Crack
05-19-09
Recently I came across a new file format called RSDF, these appear to be txt files which have a bunch of links in them, so called link containers. I wanted to access the URLS in these files, but I didnt really want to entrust my computer to just “any” application. So after a bit of searching I came across this crafty german website from there I got the python script to decrypt the RSDF files, this Python script requires:
- Python (doh!!)
- Python-crypto
- Probably something else also…..
from their its as simple as: drsdf.py rsdfcontainer.rsdf
and it outputs to your screen! So without further ado here it is:
#!/usr/bin/env python
# drsdf.pyimport binascii
import base64
from Crypto.Cipher import AES
import sys# 8C 35 19 2D 96 4D C3 18 2C 6F 84 F3 25 22 39 EB 4A 32 0D 25
file = sys.argv[1]
file = file.replace(”.ccf”, “.rsdf”)
f = open(file, “r”)
data = f.read()
f.close()f = open(file, “w”)
f.write(data.split(”\x00″)[0])
f.close()infile = sys.argv[1]
Key = binascii.unhexlify(’8C35192D964DC3182C6F84F3252239EB4A320D2500000000′)IV = binascii.unhexlify(’FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF’)
IV_Cipher = AES.new(Key,AES.MODE_ECB)
IV = IV_Cipher.encrypt(IV)obj = AES.new(Key,AES.MODE_CFB,IV)
rsdf = open(infile,’r')
data = rsdf.read()
data = binascii.unhexlify(”.join(data.split()))
data = data.splitlines()for link in data:
link = base64.b64decode(link)
link = obj.decrypt(link)
print link.replace(’CCF: ‘,”)rsdf.close()
Happy Downloading!
Tags: cli, cryptload, downloading, jdownloader, python, rapidshare, RSDF, upLoad!
Thanks! Works great. Now I’m looking for the same for CCF and DLC….