Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumberEncryption not working #46

Open
gamerover98 opened this issue Jul 19, 2023 · 1 comment
Open

NumberEncryption not working #46

gamerover98 opened this issue Jul 19, 2023 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@gamerover98
Copy link

Hi, I'm trying to hide inline values but it doesn't work.
This is an example:

double a = something.getValue();

if (a > 50) {
    // do something...
}

Obfuscated bytecode:

 while (true) {
  Label_0166: {
      if (dcmpl(n2, 50.0) > (0x28CF030F ^ nkxhdejreeseiinm)) {
      Label_1188:
          while (true) {
            ...

As you can see, the "50.0" is exposed and can be modified with a bytecode editor.
I'm also trying to enable or disable the numberEncryption property, but nothing changes.

numberEncryption: {
    enabled: true
    exempt: []
}

Thanks!

@LouissXI LouissXI added the bug Something isn't working label Jul 19, 2023
@terminalsin
Copy link
Member

Number encryption does not support doubles it seems. will introduce that in the future

@terminalsin terminalsin added the enhancement New feature or request label Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants