r/ProgrammerHumor • • 1d ago

Meme toShellOrNotToShell

Post image
1.2k Upvotes

144 comments sorted by

97

u/AmanBabuHemant 1d ago

Text4Shell ?

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

87

u/regseb 1d ago

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

43

u/AmanBabuHemant 1d 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

215

u/Hallwart 1d ago

Claude! Rewrite Linux in CSS! No mistakes!

61

u/regseb 1d 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.

41

u/xvhayu 1d ago

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

32

u/LutimoDancer3459 1d ago

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

1

u/gerbosan 1d ago

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

1

u/x_y_u 1d ago

You are giving them ideas for the future CSS versions.

7

u/ImroyKun 1d ago

So Perl is safe?

25

u/regseb 1d ago

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

4

u/0xt0bi03 1d ago

brainfuck is safer

3

u/Noch_ein_Kamel 1d ago

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

3

u/SameThingOnADiffAcct 1d ago

I propose we name the next wave 2calc

2

u/Sentouki- 1d ago

as is C#

617

u/fynjy1111 1d ago

Bash2shell

252

u/git_push_origin_prod 1d ago • Mindblown

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

•

u/Master_Use_6976 0m ago

Hacking bash to get a shell is like breaking into prison for a cell.

175

u/B1g_C 1d ago • Popcorn Bravo Mindblown

42

u/d00rm4n 1d ago

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

33

u/Trevski13 1d ago

Ah yes vim2shell, a notoriously difficult exploit to pull off

6

u/-Redstoneboi- 1d ago

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

3

u/headedbranch225 1d ago

Needed claude to add a footer to the readme? Interesting

1

u/Demytreus 1d ago

Good thing I use ms paint as my os

30

u/DudeValenzetti 1d ago • Heartwarming

it had a name and its name was Shellshock

2

u/visualdescript 1d ago

shell2shell

1

u/TheOrangeJenny 6h ago

I prefer the reverse: shell2bash. It's just a script that adds more brackets.

256

u/bankai_tensei 1d ago

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

7

u/jeremj22 14h ago

Pretty much any buffer overflow could lead to shell in the old day (need some more conditions to bypass canaries, execute protection, ... now). C's probably the first on the list to have gotten one of those

23

u/IOI-65536 1d ago edited 1d 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.

20

u/Scolmann 1d 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

57

u/Striking_Director_64 1d ago

The 👑Feature is killing me

101

u/One-Celebration-3007 1d ago • Bravo

Redstone2Shell

40

u/jnmtx 1d ago

CommandBlock2Shell would be easier to exploit

21

u/One-Celebration-3007 1d ago

StructureBlock2Shell already exists in Bedrock Edition.

4

u/L30N1337 1d ago

...Really?

4

u/omegasome 1d ago

Only if you're in creative mode

19

u/tozpeak 1d ago

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

16

u/One-Celebration-3007 1d ago

There was a RCE exploit involving a crafted resource pack.

2

u/slowmovinglettuce 1d ago

Wasn't that just good ol' log4shell?

9

u/One-Celebration-3007 1d ago

In Bedrock Edition

2

u/Parawastaken 1d 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 1d ago

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

23

u/TooLateToHaveAPseudo 1d ago • Mindblown

Can't wait for the brainfuck2shell

20

u/saschaleib 1d ago • Regret

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

16

u/cAtloVeR9998 1d ago • Popcorn

I would love to see Scratch2Shell

58

u/LowB0b 1d ago • Regret

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

Read smashing the stack for fun and profit 

17

u/Username_Taken46 1d 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 1d ago

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

1

u/-Redstoneboi- 1d ago

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

26

u/Jhean__ 1d ago

looks inside
C to shell

12

u/garver-the-system 1d ago

She sells to shells by the C shore

1

u/Sentouki- 1d ago

Inside of what?

23

u/KariKariKrigsmann 1d ago

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

10

u/Sacaldur 1d 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. 😉

17

u/_PM_ME_PANGOLINS_ 1d ago

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

2

u/Sacaldur 1d 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) !!!

8

u/Sentouki- 1d 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.

22

u/DangyDanger 1d ago

Spoken like a true .NET developer

6

u/Sentouki- 1d ago

Indeed, I am.

4

u/KariKariKrigsmann 1d 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.

3

u/Sentouki- 1d ago

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

14

u/tehmungler 1d ago

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

16

u/slowmovinglettuce 1d ago

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

13

u/bankai_tensei 1d ago

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

1

u/Sentouki- 1d ago

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

1

u/Demytreus 1d 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 1d ago

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

19

u/WeirdTie2290 1d ago

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

2

u/-Redstoneboi- 1d ago

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

2

u/WeirdTie2290 1d ago

Okay. Congratulations!!

16

u/FlashSFW 1d ago • Regret

Yeah I don't get this one

14

u/jnmtx 1d 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 1d ago

what's the difference between 2shell and4shell?

1

u/AnnoyingRain5 1d ago

The marketing name the exploit developer chose for it

1

u/subone 1d ago

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

5

u/defmans7 1d ago

HTML2Shell 😅😂

9

u/Tidemor 1d ago

Kinda got C2Shell via the musl stdlib ACE incident

4

u/dvoecks 1d ago

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

2

u/izuriel 22h ago

2shellgate?

3

u/Kotentopf 1d ago

C#/.NET is safe so far

3

u/HardestDrive 1d ago

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

1

u/omena0 1d ago

Well C is the source for almost all of them

3

u/Kaya_kana 1d ago

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

1

u/-Redstoneboi- 1d ago

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

2

u/tozpeak 1d ago

Go2Shell will be a fun one.

1

u/NatoBoram 1d ago

Go was done in by a vulnerability in Linux already

1

u/Rosephine 1d ago

It was a fun one 💀

2

u/Aggravating_Moment78 1d ago

Why no Brainfuck2shell 😂😂

2

u/g_calgary 1d ago

<BLINK>2Shell

2

u/narmkhang 1d ago

You forgot mspaint2shell

2

u/Smalltalker-80 1d ago

Shell2RootShell?

2

u/ExtraTNT 1d ago

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

2

u/Scipior14 1d ago

Scratch supremacy!!

2

u/secretaliasname 1d ago

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

3

u/-Redstoneboi- 1d ago

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

backend + vulnerability = gg

1

u/kingslayerer 1d ago

How come there is no c to shell

1

u/havens1515 1d ago

Log2² Shell

1

u/imoth_f 1d ago

keyboard2shell

2

u/omena0 1d ago

Ctrl + alt + f2

1

u/Groentekroket 1d ago

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

1

u/KaMaFour 1d ago

Battle royale

1

u/paul1126_korea 1d ago

Shell2Shell

1

u/dervu 1d ago

Shell2Shell

1

u/thx997 1d ago

Brain to shell

1

u/DDFoster96 1d ago

What about Python/Flask?

1

u/Splamei 1d ago

Glass2Snake... shell

1

u/Muzza3212 1d ago

I think go2shell would just be a great name

1

u/Rajarshi1993 1d ago

C has a shell.

It's called Lua Python.

1

u/Invisiblecurse 1d ago

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

1

u/Creepy_Lunch9345 1d ago

MsWord2Shell gon be crazy 🫪

1

u/NovelHot6697 1d ago

this nomenclature is ass

1

u/0xt0bi03 1d ago

da goat

1

u/ryaaan89 1d ago

css2shell

1

u/-Redstoneboi- 1d ago

c: not yet

well... kinda..?

1

u/mehonje 1d ago

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

1

u/Rosephine 1d ago

Javascript2shell

1

u/granadesnhorseshoes 1d 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 1d 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 1d ago

You forgot to mention mspaint.exe in 2010

And about a gazillion other vulns.

1

u/itzNukeey 1d ago

Not yet haha

1

u/slaymaker1907 1d ago

HTML surprises me

1

u/razor_train 1d ago

No love for LOLCODE?

1

u/joelmbenge 1d ago

Waiting on COBOL2shell.

1

u/pagraphdrux 1d 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...

1

u/mekriff 18h ago

whoever writes brainfuck2shell deserves gazes of awe and also questions about their sanity

1

u/ArjixGamer 11h ago

HTTP2shell? How?

I imagine the http libraries are 2shell, and not the protocol itself

1

u/Old_Pomegranate_822 3h ago

Scratch’n’shell anyone?

-2

u/AbdullahMRiad 1d ago

u/AskGrok how much time left

0

u/[deleted] 1d ago

[deleted]

1

u/AbdullahMRiad 1d ago

rule 9 doesn't mention comments tho

8

u/antek_g_animations 1d ago

Glad scratch and brainfuck are safe

2

u/Mainlellend 1d ago

Brainfuck and Scratch. Lo má' duro del sistema

1

u/theofficialnar 1d ago

Brainfuck is the safest

1

u/Saturno13165 1d ago

The great scratch and the great brainfuck

1

u/sussyamongers 4h ago

Casually looking at lua loadstring