MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xcawj4/itsbadifitsonlyphp/19rh2hutstpes/
r/ProgrammerHumor • u/foxdevuz • Oct 22 '26
335 comments sorted by
View all comments
Show parent comment
-8
Just trust me bro we're not like PHP bro
use std::process::Command; pub fn some_handler(req: Request<Body>) { Command::new(&req.into_parts().1) .spawn() .ok(); }
30 u/brainplot Oct 22 '26 This example doesn't make much sense because you could write this code in any language. It's not an inherent fault of the language itself but just bad programming. 2 u/YeetCompleet Oct 22 '26 I thought the point of the meme that any language can do this but now I'm realizing it's some PHP bug meme 17 u/MageGen Oct 22 '26 This doesn't make sense. By this measure all languages have a huge security hole by virtue of their ability to, you know, execute code. 2 u/YeetCompleet Oct 22 '26 I thought that was literally the point of the meme 6 u/XLNBot Oct 22 '26 In this case RCE would be a feature, not a bug
30
This example doesn't make much sense because you could write this code in any language. It's not an inherent fault of the language itself but just bad programming.
2 u/YeetCompleet Oct 22 '26 I thought the point of the meme that any language can do this but now I'm realizing it's some PHP bug meme
2
I thought the point of the meme that any language can do this but now I'm realizing it's some PHP bug meme
17
This doesn't make sense. By this measure all languages have a huge security hole by virtue of their ability to, you know, execute code.
2 u/YeetCompleet Oct 22 '26 I thought that was literally the point of the meme
I thought that was literally the point of the meme
6
In this case RCE would be a feature, not a bug
View all comments
Show parent comment
-8
u/YeetCompleet Oct 22 '26
Just trust me bro we're not like PHP bro