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

I just need help, it's removing a defined value from this code. #16

Closed
BotSolver opened this issue Aug 19, 2023 · 4 comments
Closed

I just need help, it's removing a defined value from this code. #16

BotSolver opened this issue Aug 19, 2023 · 4 comments
Labels
bug Something isn't working deobfuscate

Comments

@BotSolver
Copy link

Describe the bug

I press deobfuscate and everything is fine, but if I put the code with the rest of the files it says this

background-wrapper.js:1 ReferenceError: _0x541988 is not defined
at Object.S (background.bundle.js:1:152)
at new It (background.bundle.js:1:338930)
at background.bundle.js:1:930915
at background.bundle.js:1:930940
at background.bundle.js:1:931274
at background.bundle.js:1:934771
at background.bundle.js:1:934775

I don't mean to be annoying if anything so I apologize, just trying to get something done

Expected Behaviour

I expect to keep the value defined but it seems to remove it, breaking the whole code for the check

Code

https://cdn.discordapp.com/attachments/1139534194402414592/1142290059559714816/0mY0xmK.js

Logs

background-wrapper.js:1 ReferenceError: _0x541988 is not defined
    at Object.S (background.bundle.js:1:152)
    at new It (background.bundle.js:1:338930)
    at background.bundle.js:1:930915
    at background.bundle.js:1:930940
    at background.bundle.js:1:931274
    at background.bundle.js:1:934771
    at background.bundle.js:1:934775
    at background-wrapper.js:1:5
@BotSolver BotSolver added the bug Something isn't working label Aug 19, 2023
@BotSolver
Copy link
Author

since the code is obfuscated, I have no clue how it's supposed to be defined at base, so it's not something I can fix on my own.

@j4k0xb
Copy link
Owner

j4k0xb commented Aug 19, 2023

thanks for reporting, its an issue where _0x541988 is accidentally detected as a string array proxy/wrapper and removed

function _0x541988() {
  var _0x3ad03a = a3_0x11e7;
  return _0x3ad03a(0x59b);
}
_0x15c3bf["d"](_0x314587, { S: () => _0x541988, n: () => _0x4d923d });

as a workaround you could manually replace it with this for now:

function _0x541988() {
  return "npm";
}

@BotSolver
Copy link
Author

I see, thank you

@j4k0xb
Copy link
Owner

j4k0xb commented Aug 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 deobfuscate
Projects
None yet
Development

No branches or pull requests

2 participants