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

data written with backtrick is not encrypted. #149

Open
slush3 opened this issue Nov 1, 2024 · 1 comment
Open

data written with backtrick is not encrypted. #149

slush3 opened this issue Nov 1, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@slush3
Copy link

slush3 commented Nov 1, 2024

Hi. js-confuser ``(Backtick) does NOT encrypt console messages written in it.

Example

Input:

console.log(`Hello World!`);

Output: ... var smccs9,EbRN91F,Xxc9B0B=function(...gVwlCX){typeof(gVwlCX['length']=0,gVwlCX['a4fNOkB']=gVwlCX['\u0044\u0074\u004d\u007a\u0035\u0038'],gVwlCX['a4fNOkB']=[LJ8l61(11)]);var _3UvFkQ=function(...gVwlCX){void(gVwlCX['\u006c\u0065\u006e\u0067\u0074\u0068']=0,gVwlCX[124]=15,gVwlCX[0]={['R3JYYe']:LJ8l61(9)},gVwlCX[131]=gVwlCX[0]);try{return global||window||new Function(gVwlCX[131]['R3JYYe']+LJ8l61(10))()}catch(e){return mMxuDPp[LJ8l61['call'](undefined,11)](this)}};var mMxuDPp=function(){try{return this}catch(e){return null}};return EbRN91F=mMxuDPp['\x63\x61\x6c\x6c'](this,QewAEgq),smccs9=_3UvFkQ[gVwlCX['\u0061\u0034\u0066\u004e\u004f\u006b\u0042'][0]](this)}[ahTfcBY]();void(QewAEgq(-56)[LJ8l61(12)] ---> (`Hello World!`) <--- ,LkUZcOF(QewAEgq,1)); ...

I don't know if this is a problem or this is not specified in the code. But I hope it will be fixed in the new update.

Thank you.

@slush3 slush3 added the enhancement New feature or request label Nov 1, 2024
@MichaelXF
Copy link
Owner

Hi, this will be solved in 2.0. (Currently 2.0.0-alpha.2)

Demo

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

2 participants