可以ProGuard的混淆原文件名文件名、ProGuard

2023-09-06 17:16:08 作者:别猜我心思ㄟ

如果您解压缩APK文件,你会发现,所有的资源文件在显示。这可能会导致一个漏洞。是否有可能获得ProGuard的工具混淆文件名,以隐藏自己的目的是什么?

If you unzip an apk file you'll find that all the res files are on display. This can cause a vulnerability. Is it possible to get the proguard tool to obfuscate the filenames in order to hide their purpose?

推荐答案

ProGuard的可以处理资源文件在以下几个方面:

ProGuard can handle resources files in the following ways:

重新命名他们遵循相应的类文件混淆的名称(-adaptresourcefilenames)在更新混淆类名的文本的文件(-adaptresourcefilecontents)否则,只需复制它们。 Rename them to follow obfuscated names of corresponding class files (-adaptresourcefilenames), Update obfuscated class names in text files (-adaptresourcefilecontents), Otherwise, just copy them.

ProGuard的不改变文件扩展名或触摸图像文件的内容,例如。

ProGuard doesn't change file extensions or touch the contents of image files, for instance.

所以ProGuard的常见问题Thinksteep的跨pretation的范围太广,我害怕。

So Thinksteep's interpretation of the ProGuard FAQ is too broad, I'm afraid.