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

Programmer Humor

33138 readers
562 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 14 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 2 years ago (1 children)

wtf, is this just obscured javascript?

[–] [email protected] 22 points 2 years ago* (last edited 2 years 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

[–] [email protected] 10 points 2 years 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.

[–] [email protected] 1 points 2 years ago

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

[–] [email protected] 14 points 2 years ago (1 children)

An LLM could probably solve this much quicker than a human.

[–] [email protected] 8 points 2 years ago (1 children)

Finally, the ultimate weapon

A tool to parse horrible code

[–] [email protected] 12 points 2 years ago (1 children)
[–] [email protected] 4 points 2 years ago

Then the machines could pass the test.

[–] [email protected] 4 points 2 years ago

Litterally me, before ChatGPT was a thing

[–] [email protected] 2 points 2 years ago
[–] [email protected] 2 points 2 years ago

This is a nightmare material

[–] [email protected] 1 points 2 years ago

A nightmare of mine, prob all JS code too

load more comments
view more: next ›