support for rsdf files July 28, 2009 09:54AM |
Registered: 15 years ago Posts: 1 |
Re: support for rsdf files July 28, 2009 09:57AM |
Admin Registered: 19 years ago Posts: 2,425 |
Re: support for rsdf files September 21, 2009 09:22PM |
Registered: 15 years ago Posts: 11 |
Re: support for rsdf files September 22, 2009 11:03PM |
Registered: 15 years ago Posts: 2 |
Language: Python#!/usr/bin/env python import binascii import base64 from Crypto.Cipher import AES import sys # thx to kugelfisch for finding key # 8C 35 19 2D 96 4D C3 18 2C 6F 84 F3 25 22 39 EB 4A 32 0D 25 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()