this post was submitted on 08 Jul 2023
417 points (97.5% liked)

Programmer Humor

32371 readers
302 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] NoisyFlake@lemm.ee 16 points 1 year ago (1 children)

wtf, is this just obscured javascript?

[–] nailbar@sopuli.xyz 22 points 1 year ago* (last edited 1 year ago) (2 children)

It looks like it's decompiled from something, so all the variable names are missing and instead presented with whatever index they had in the binary.

But that's just a wild guess. I don't know what actual decompiled code looks like.

Edit: scratch that, it's just obfuscated code to make it harder to copy.

https://stackoverflow.com/questions/11932567/found-this-nasty-code-i-wonder-what-it-does-should-i-be-worried#11932708

[–] SurpriseWaterfall@sopuli.xyz 10 points 1 year ago (1 children)

I thought it was decompiled code at first to, but the function names are still real words. It's almost like it was manually obfuscated by replacing all the variable names.

[–] hemmes@vlemmy.net 1 points 1 year ago

I don’t think you’re far off because obfuscated code usually has less structured variable references.