r/ProgrammerHumor • • 21h ago

Meme toShellOrNotToShell

Post image
1.1k Upvotes

137 comments sorted by

89

u/AmanBabuHemant 21h ago

Text4Shell ?

are you talking about that microsoft notepad incident? if so then how it would be a .txt problem

78

u/regseb 21h ago

Text4Shell (CVE-2022-42889) is a vulnerability in the Apache Commons Text library.

40

u/AmanBabuHemant 21h ago • Heartwarming

so it was not a problem with Text format but the library...

anways thanks for providing sources,

CVE: https://www.cve.org/CVERecord?id=CVE-2022-42889

193

u/Hallwart 21h ago

Claude! Rewrite Linux in CSS! No mistakes!

56

u/regseb 20h ago

Claude! Is the new CSS random() function cryptographically secure?

No. CSS random() is for visual variation (randomized sizes, positions, colors, animation offsets), not security. The spec doesn't promise cryptographic quality, and nothing in the design makes it suitable for that purpose.

36

u/xvhayu 20h ago

what if we never tell anyone that we use css random(), then they wouldn't know, so it's secure

28

u/LutimoDancer3459 18h ago

My certificate was generated that way. The value is 4. But nobody knows. So its totally secure.

1

u/gerbosan 11h ago

That's a MS move. Windows Me or 8?

1

u/x_y_u 5h ago

You are giving them ideas for the future CSS versions.

6

u/ImroyKun 21h ago

So Perl is safe?

23

u/regseb 21h ago

I looked, but all I found was Pearl in Shell.

3

u/Noch_ein_Kamel 20h ago

If you base your decision on someone naming a remote code exectution attack "shell"… sure

3

u/SameThingOnADiffAcct 18h ago

I propose we name the next wave 2calc

3

u/0xt0bi03 15h ago

brainfuck is safer

2

u/Sentouki- 16h ago

as is C#

538

u/fynjy1111 21h ago

Bash2shell

210

u/git_push_origin_prod 21h ago • Mindblown

Someone hacked bash to get access to the shell! That’s illegal

148

u/B1g_C 21h ago • Mindblown

32

u/d00rm4n 16h ago

lol brilliant. reminds me of https://github.com/hakluke/how-to-exit-vim

25

u/Trevski13 14h ago

Ah yes vim2shell, a notoriously difficult exploit to pull off

3

u/-Redstoneboi- 13h ago

me when i merely open a file from an untrusted source and it runs arbitrary code on my machine

2

u/headedbranch225 10h ago

Needed claude to add a footer to the readme? Interesting

1

u/Demytreus 12h ago

Good thing I use ms paint as my os

29

u/DudeValenzetti 20h ago • Heartwarming

it had a name and its name was Shellshock

0

u/visualdescript 11h ago

shell2shell

189

u/bankai_tensei 19h ago

C only says "Not yet" because nobody bothers giving buffer overflows a cute marketing name anymore.

11

u/IOI-65536 16h ago edited 16h ago

Yes. It's a pretty decent meme, but there's no actual content there. Like Java I'm sure means log4shell, but log4j is a not distributed with any SDK I'm aware of so it's "unsafe" because there exists a library that can get you shell access. (Evidently not, but it's still not the most common Java stacks) C is probably first of anything on this list for having had at some point a library with a buffer overflow that got you shell access.

10

u/Scolmann 11h ago

Java4shell is because of hand rolled assembly in OpenJDK for Intel machines with AVX 512

But it's much harder to exploit compared to log4shell

49

u/Striking_Director_64 20h ago

The 👑Feature is killing me

93

u/One-Celebration-3007 21h ago • Bravo

Redstone2Shell

39

u/jnmtx 20h ago

CommandBlock2Shell would be easier to exploit

20

u/One-Celebration-3007 20h ago

StructureBlock2Shell already exists in Bedrock Edition.

4

u/L30N1337 18h ago

...Really?

3

u/omegasome 15h ago

Only if you're in creative mode

16

u/tozpeak 20h ago

Well, Java2Shell is there... but no Bedrock2Shell, huh?

14

u/One-Celebration-3007 20h ago

There was a RCE exploit involving a crafted resource pack.

2

u/slowmovinglettuce 19h ago

Wasn't that just good ol' log4shell?

7

u/One-Celebration-3007 19h ago

In Bedrock Edition

3

u/Parawastaken 18h ago

This happened on Bedrock and Java actually now, for bedrock it was a memory corruption in textures i believe while for java edition it was a malicious font, im not too familiar with the java one, but i remember there was a good article from ottersec on the bedrock edition one

1

u/slowmovinglettuce 19h ago

Oh i did not pick up on the bedrock bit. Forgot that the c++ variant even existed.

26

u/Jhean__ 21h ago

looks inside
C to shell

12

u/garver-the-system 17h ago

She sells to shells by the C shore

1

u/Sentouki- 16h ago

Inside of what?

23

u/TooLateToHaveAPseudo 20h ago • Mindblown

Can't wait for the brainfuck2shell

19

u/saschaleib 19h ago • Regret

Please excuse me, I'm off writing an exploit for Brainfuck. I shall call it `+++++++.>++++`.

16

u/cAtloVeR9998 21h ago • Popcorn

I would love to see Scratch2Shell

56

u/LowB0b 21h ago • Regret

C and c++ are the ones causing the issues lol 

Read smashing the stack for fun and profit 

16

u/Username_Taken46 20h ago

Most memory related exploits don't (initially) target the stack anymore, the paper is good as background but its far from current atp

3

u/LowB0b 19h ago

True. The recent node vulnerability was a buffer overflow though, still...

1

u/-Redstoneboi- 13h ago

still wondering what the hell a House of Water is and why it works

21

u/KariKariKrigsmann 18h ago

So C# is safe? Because nobody remembers that it exists?

8

u/Sacaldur 17h ago

Game Developers do remember:

  • Unity uses C# for scripting
  • Unreal uses it for build scripts
  • Godot has a version that supports C# natively

Of course, you don't have to use any of these, but if you do Game Development, you will at least die to them know about C# and that it's still in use.

And before I forget to correct you: it's called Microsoft Java. 😉

11

u/_PM_ME_PANGOLINS_ 16h ago

People who call C# “Microsoft Java” are just demonstrating that they’re too young to remember Microsoft Java or J#.

2

u/Sacaldur 16h ago

Maybe I am to young to remember that (even though I started to use C# almost 2 decades ago), but nobody will take away my Microsoft Python (Boo) !!!

7

u/Sentouki- 16h ago

You realize that much of the corporate software is built in C#, right? Tell me you have no idea about professional software development and the .NET world, without telling me.

21

u/DangyDanger 15h ago

Spoken like a true .NET developer

4

u/Sentouki- 15h ago

Indeed, I am.

3

u/KariKariKrigsmann 10h ago

I was trying to be funny, but obviously failed miserably 😅

I did my first C# program around 2003 for a paint robotics company. It made it easier to manage make files.

2

u/Sentouki- 9h ago

Just wanted to mention that modern C# has nothing to do with the early 2000s Microslop Java.

12

u/tehmungler 20h ago

Stupid question- is there a reason some are “2” and some are “4”?

15

u/slowmovinglettuce 19h ago

Its just whatever it was named. Java's was because of a vulnerability in log4j which was dubbed log4shell

12

u/bankai_tensei 19h ago

Pretty much. Java ecosystem vulnerabilities kept riffing on Log4Shell (Spring4Shell, Text4Shell), while everyone else went with X2Shell ("to shell").

1

u/Sentouki- 16h ago

Yeah, it ain't the first time that log4j got some nasty vulnerability...

1

u/Demytreus 12h ago

It's likely a play on "to" and "for". php2shell is "php to shell" and java4shell is "java for shell". Why use "for" instead of "to", idk

1

u/tehmungler 9h ago

Yeah sorry I got the 4 - for and 2 - to thing, I just meant who decides when to use which? 🤷‍♂️😁

16

u/FlashSFW 21h ago • Regret

Yeah I don't get this one

14

u/jnmtx 20h ago

(the name of a programming language, e.g Java) and 💀”2shell” or “4shell” means there exists an exploit for that programming language that lets the attacker execute command-line (shell) commands

2

u/Icy-Focus-6812 18h ago

what's the difference between 2shell and4shell?

1

u/AnnoyingRain5 17h ago

The marketing name the exploit developer chose for it

1

u/subone 16h ago

It's more an info graphic, but a few of them are comical. Like HTML or shell to shell.

16

u/WeirdTie2290 20h ago

Python flying under the radar. Neither developers nor hackers are interested in it.

1

u/-Redstoneboi- 14h ago

bro we literally have server side template injection for (older) python frameworks

1

u/WeirdTie2290 11h ago

Okay. Congratulations!!

5

u/defmans7 20h ago

HTML2Shell 😅😂

9

u/Tidemor 20h ago

Kinda got C2Shell via the musl stdlib ACE incident

3

u/Kotentopf 20h ago

C#/.NET is safe so far

3

u/HardestDrive 19h ago

With C to shell we might as well shut down the internet

1

u/omena0 13h ago

Well C is the source for almost all of them

2

u/tozpeak 20h ago

Go2Shell will be a fun one.

1

u/NatoBoram 17h ago

Go was done in by a vulnerability in Linux already

1

u/Rosephine 13h ago

It was a fun one 💀

2

u/Aggravating_Moment78 19h ago

Why no Brainfuck2shell 😂😂

2

u/g_calgary 19h ago

<BLINK>2Shell

2

u/narmkhang 18h ago

You forgot mspaint2shell

2

u/Smalltalker-80 18h ago

Shell2RootShell?

2

u/ExtraTNT 17h ago

Haskell2shell… shell is a side effect, so probably not…

2

u/Scipior14 17h ago

Scratch supremacy!!

2

u/secretaliasname 15h ago

Can somebody explain react 2 shell for me? I thought react was front end?

3

u/-Redstoneboi- 14h ago

some frameworks use React Server Components which allow it to interface with the backend

backend + vulnerability = gg

2

u/dvoecks 5h ago

It's getting to be like tagging "gate" after every scandal.

1

u/izuriel 3h ago

2shellgate?

1

u/kingslayerer 21h ago

How come there is no c to shell

1

u/havens1515 20h ago

Log2² Shell

1

u/imoth_f 20h ago

keyboard2shell

2

u/omena0 13h ago

Ctrl + alt + f2

1

u/Groentekroket 20h ago

That’s it, messaging my PO that we need some time to migrate our applications to Brainfuck

1

u/KaMaFour 19h ago

Battle royale

1

u/paul1126_korea 19h ago

Shell2Shell

1

u/dervu 19h ago

Shell2Shell

1

u/thx997 19h ago

Brain to shell

1

u/DDFoster96 19h ago

What about Python/Flask?

1

u/Splamei 19h ago

Glass2Snake... shell

1

u/Muzza3212 19h ago

I think go2shell would just be a great name

1

u/Kaya_kana 18h ago

Guess it's time to switch our codebase over to brainfuck.

1

u/-Redstoneboi- 14h ago

if a brainfuck implementation doesn't bounds check then it could have a vulnerability

1

u/Rajarshi1993 18h ago

C has a shell.

It's called Lua Python.

1

u/Invisiblecurse 18h ago

Damn... at first I thought I was in the Gunlance sub and this was another efficiency chart

1

u/Creepy_Lunch9345 17h ago

MsWord2Shell gon be crazy 🫪

1

u/NovelHot6697 16h ago

this nomenclature is ass

1

u/0xt0bi03 15h ago

da goat

1

u/ryaaan89 14h ago

css2shell

1

u/-Redstoneboi- 14h ago

c: not yet

well... kinda..?

1

u/Not-the-best-name 13h ago

Where is paint2shell?

1

u/mehonje 13h ago

Scratch has an exploit: malicious SVGs can give access to users accounts.

1

u/Rosephine 13h ago

Javascript2shell

1

u/granadesnhorseshoes 12h ago

I get its a joke but its a pretty dumb list. Brotli and HTTP are the same thing. All unmanaged languages that compile to stand alone native executables are kinda fundamentally immune from this sort of thing because there's no common runtime library/VM infrastructure to attack.

1

u/CrossScarMC 11h ago

I mean if you're willing to use browser exploits Scratch did have a exploit that gave SVGs full JS access a while ago.

1

u/sysfruit 11h ago

You forgot to mention mspaint.exe in 2010

And about a gazillion other vulns.

1

u/itzNukeey 8h ago

Not yet haha

1

u/slaymaker1907 7h ago

HTML surprises me

1

u/razor_train 7h ago

No love for LOLCODE?

1

u/joelmbenge 7h ago

Waiting on COBOL2shell.

1

u/pagraphdrux 5h ago

react2shell 🤔...

Because React2Shell is a server-side deserialization vulnerability, it strictly requires a Node.js backend actively running React Server Components (RSC) to process incoming Flight protocol requests.

Ah yea makes sense...

-2

u/AbdullahMRiad 20h ago

u/AskGrok how much time left

0

u/[deleted] 16h ago

[deleted] — view deleted comment

1

u/AbdullahMRiad 14h ago

rule 9 doesn't mention comments tho

8

u/antek_g_animations 20h ago

Glad scratch and brainfuck are safe

1

u/theofficialnar 19h ago

Brainfuck is the safest

1

u/Mainlellend 12h ago

Brainfuck and Scratch. Lo má' duro del sistema

1

u/Saturno13165 9h ago

The great scratch and the great brainfuck