-
-
Save ExordiumX/540b0ccf093a5ade1986c33aa415a92e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Object.defineProperty((webpackChunkdiscord_app.push([[''],{},e=>{m=[];for(let c in e.c)m.push(e.c[c])}]),m).find(m=>m?.exports?.default?.isDeveloper!==void 0).exports.default,"isDeveloper",{get:()=>true}); |
Can you send the unobfuscated version (the pretty printed) version? I want to see how this code truly works, rather than a shitty webpacked version
Author hasn't responded, so I started to de-obfuscate it myself. Progress so far.
// define a property in an object
Object.defineProperty(
(
// push values to webpackChunkdiscord_app
webpackChunkdiscord_app.push(
[
[''], // empty array??? mfw???
{}, // empty object??? mfw???????
e => { // function
m=[]; // declare m as an array
for(let c in e.c)
m.push(e.c[c])
}
]
),
// finish defining property
m
).find( // in this tuple, find object
m=>m
.exports
.default
.isDeveloper !==void 0
)
.exports
.default,
"isDeveloper",
{get:()=>true}
);
I don't know why they made it one line either, it's a bit weird :/
I don't know why they made it one line either, it's a bit weird :/
Just so it's more tiny
started getting this, I don't know when it started but it is present in Stable 141471 and Canary 140832
Uncaught TypeError: Cannot redefine property: isDeveloper
at Function.defineProperty (<anonymous>)
at <anonymous>:1:8```
I believe it's unsupported now
@Andreytreyy in case you're still looking to get it: https://gist.github.com/JohannesMP/afdf27383608c3b6f20a6a072d0be93c
The last one works
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah! It works for me