Obfuscapk icon indicating copy to clipboard operation
Obfuscapk copied to clipboard

ResStringEncryption plugin has not worked correctly

Open tnguyenvn opened this issue 5 years ago • 1 comments

Prerequisites

Before opening this issue, I tried the following steps:

Description

I have tried "ResStringEncryption" plugin and checked the resource string. The tool did not encrypted the content.

Steps to Reproduce

  1. python3.7 -m obfuscapk.cli -i -o ResStringEncryption -o Rebuild
  2. Decompile APK and check string resource
  3. The content is not encrypted as expected

Expected behavior: The resource string/string atrray should be encrpted

Actual behavior: They are still plain text

if applicable, paste here the complete error message

Versions

  • Installation mode Source
  • Obufscapk version Lastest
  • OS (e.g., Ubuntu 16.04): Mac 10.14
  • Python version (e.g., Python 3.7.4): 3.7.4

Additional Information

Apk file(s):

tnguyenvn avatar Apr 21 '20 07:04 tnguyenvn

Did you actually use resource string in your source(Java) code? ResStringEncryption uses smali to encrypt the string. If resource string is not used in source code there will be no smali output for resource string, so it will be ignored

Elyorbe avatar Jul 29 '20 01:07 Elyorbe