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

android:name and obfuscation:name #148

Closed adgluzdov closed 1 year ago

adgluzdov commented 1 year ago

image

Why change "android:name" or "android:theme" to "obfuscation:name", "obfuscation:theme". Many people do obfuscation in order to hide from others, and because of "obfuscation" the application begins to differ from others. Thank you for your work!

ClaudiuGeorgiu commented 1 year ago

We wanted the obfuscated app to differ as much as possible from the original, but still maintaining its functionality. If many people use this tool, the obfuscation namespace will become like a sort of signature indicating that Obfuscapk has been used, so you're right: it will be more difficult to hide. Maybe it's better to use a random string? Or keep the original android? I don't have an answer, but during our tests (when we originally wrote the tool) this worked well so we kept it.

However, if you don't like it, you can change it back to android here:

https://github.com/ClaudiuGeorgiu/Obfuscapk/blob/2185bd450c4ba1fb2a612789a067fa0a5747f933/src/obfuscapk/obfuscators/random_manifest/random_manifest.py#L104-L107

adgluzdov commented 1 year ago

Thanks for the answer, it helped me