hackcambridge-ccleaner-app CCleaner.dat 文件解密

ccleaner v5.70 CCleaner.dat 文件解密
hackcambridge-ccleaner-app

import base64

from Crypto.Cipher import Blowfish
from Crypto.Util.Padding import unpad,pad

# k="041ULKGbv7meLDmSgUyrkw=="
k="d3fRPFY0JQp5D76PyNh4ag=="
# iv="e12SAq6rENg="
iv="9JvpAVb0DN8="
k=base64.b64decode(k)
iv=base64.b64decode(iv)
cipher = Blowfish.new(k, Blowfish.MODE_CBC, iv)
def gen(name:str='ikun',out:str='CCleaner.dat'):
    my_lic=f'4|{name}||PM3A-JCSW-7Z9B-H2RQ-SU4F|KMTH-9IVP-PVPR-T2FR-QFG2-N97C-HRZG-SC4D-5I64||0'.encode('utf-8')
    my_lic=pad(my_lic,8)
    enc=cipher.encrypt(my_lic)
    with open(out,'wb') as f:
        f.write(enc)
    print('ok')
    pass

def dec_dat(fpath):
    with open(fpath,'rb') as f:
        dec=cipher.decrypt(f.read())
        dec=unpad(dec,8)
        print(dec.decode('utf-8'))

if __name__=='__main__':
    # dec_dat('CCleaner.dat')
    gen()

什么东西到了avast都变质, 能不用就不用!

posted @ 2024-11-19 20:20  DirWangK  阅读(10)  评论(0编辑  收藏  举报