ClaudiuGeorgiu / Obfuscapk

An automatic obfuscation tool for Android apps that works in a black-box fashion, supports advanced obfuscation features and has a modular architecture easily extensible with new techniques
MIT License
1.09k stars 285 forks source link

obfuscate .JSON file #158

Closed SiNaPsEr0x closed 1 year ago

SiNaPsEr0x commented 1 year ago

Can I protect the contents of JSON configuration files?

ClaudiuGeorgiu commented 1 year ago

Hi, currently there is no obfuscator specific for JSON files.

SiNaPsEr0x commented 1 year ago

I know otherwise I wouldn’t ask ahaha

ClaudiuGeorgiu commented 1 year ago

Well, the answer to your question is currently no, you can't protect the content of JSON configuration files, because there is no obfuscator implemented for your specific use case. Maybe you can use asset encryption, but this could work only if your JSON files are loaded as assets. This could be however a future enhancement, but it would be helpful if you provided more details about what you are trying to achieve.

SiNaPsEr0x commented 1 year ago

I blurred everything with obfuscapk but precisely the json no... if we had the integral project with Android studio I could integrate allatori... do you think you can release everything as an Android studio project?

ClaudiuGeorgiu commented 1 year ago

do you think you can release everything as an Android studio project?

No, sorry, I'm not even sure that's possible.