Resource file game cocos2dx.

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
kenshi91
Posts: 8
Joined: Wed Oct 07, 2015 9:35 am

Resource file game cocos2dx.

Post by kenshi91 »

Hello,
I am interested in this games graphics but resource was encrypted :?: . I am posting files here with hope someone can help me.
Many thanks.
https://mega.nz/#F!jsd1xT4C!GcPxYgDqzXQKJZL6CgYImQ

Apk link: https://mega.nz/#!all1VJxC!QyvG8qjqa-4t ... D-yulnq2nk
Last edited by kenshi91 on Thu Mar 17, 2016 1:46 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Resource file game cocos2dx.

Post by aluigi »

The files are for sure encrypted.
The source code about the cocos2dx framework on github seems to say that there is an xxtea encryption applied to the ZIP archives that should have a "XXTEA" magic at the beginning and the key "2dxLua".
Obviously this is not the case of the samples you provided so give us more information about where you got these archives and what's the real game (name and link).
kenshi91
Posts: 8
Joined: Wed Oct 07, 2015 9:35 am

Re: Resource file game cocos2dx.

Post by kenshi91 »

aluigi wrote:The files are for sure encrypted.
The source code about the cocos2dx framework on github seems to say that there is an xxtea encryption applied to the ZIP archives that should have a "XXTEA" magic at the beginning and the key "2dxLua".
Obviously this is not the case of the samples you provided so give us more information about where you got these archives and what's the real game (name and link).

Thank you for reply!
This is link game : http://3g.7723.cn/game/25019.htm
You can download apk : https://mega.nz/#!all1VJxC!QyvG8qjqa-4t ... D-yulnq2nk
Please review it and thanks for help. :)
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Resource file game cocos2dx.

Post by Ekey »

For access to database you need to decrypt SQL password. In binary it's looks like this:

Code: Select all

569AB56BA708FE01


For decrypting used DES algorithm with key )9e#2t?s - decrypted result is > 4t2#+j@ (null terminated string). Use QtCipherSqlite with password for access to database's. QtCipherSqlite used as i see MD5 + AES.
kenshi91
Posts: 8
Joined: Wed Oct 07, 2015 9:35 am

Re: Resource file game cocos2dx.

Post by kenshi91 »

Ekey wrote:For access to database you need to decrypt SQL password. In binary it's looks like this:

Code: Select all

569AB56BA708FE01


For decrypting used DES algorithm with key )9e#2t?s - decrypted result is > 4t2#+j@ (null terminated string). Use QtCipherSqlite with password for access to database's. QtCipherSqlite used as i see MD5 + AES.

Thanks for reply!
I think it seems to be a resource encrypted with zip format rather than an SQLite database.
kenshi91
Posts: 8
Joined: Wed Oct 07, 2015 9:35 am

Re: Resource file game cocos2dx.

Post by kenshi91 »

Someone please help me.