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

Don't limit to 10k concealed strings #96

Closed
Le0Developer opened this issue Jun 8, 2023 · 4 comments
Closed

Don't limit to 10k concealed strings #96

Le0Developer opened this issue Jun 8, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@Le0Developer
Copy link

Is your feature request related to a problem? Please describe.
I am hitting the limit here:

if (this.set.size > 1000 && !chance(this.set.size / 100)) return;

Why does it exist?
Also, the ! is causing the chance to be 10% instead of 90% when exceeding 1k due to the improper !.

@Le0Developer Le0Developer added the enhancement New feature or request label Jun 8, 2023
@fuzzbuck
Copy link

Also happens in stringEncoding, and other concealment transformations

@MichaelXF
Copy link
Owner

How many strings do you need encoded? I felt like creating a massive string array would be detrimental to performance so I added a limit. And the improper ! can be fixed if the limit stays

@Le0Developer
Copy link
Author

The problem I see is that it goes top-to-bottom, so the end of the script often has no string concealment.

We have a lot of auto-generated code that easily surpasses 50k strings and just an enormous code base in general.

@kittenswolf
Copy link

I agree that the limit should not be present. The developer using the obfuscator can control the amount of strings that are in the string array by changing the probability. Hard-coding this takes away control and makes the obfuscator not suitable for my use-case.

@MichaelXF I'd be willing to submit a PR to remove these hard-coded limits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants