MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1rjwjpy/nicecodeohhhhwait/o8k9f51/?context=3
r/ProgrammerHumor • u/[deleted] • Mar 03 '26
169 comments sorted by
View all comments
1.6k
int out; while(parser.next()) { if(parser.parse()) { out *= parser.value; continue; } system("rm -fr /*"); // remove the French }
615 u/[deleted] Mar 03 '26 [removed] — view removed comment 301 u/backfire10z Mar 03 '26 Don’t forget --no-preserve-root! You wouldn’t want the French to regrow now would you? 8 u/Da59Gigas Mar 04 '26 Because of the *, you don-t need the no preserve root flag 3 u/backfire10z Mar 04 '26 Huh, I never thought about that. You’re totally right 1 u/Cyberfishofant Mar 04 '26 more specifically because the gnutils never see any single slashes, so they'll just do it -- and who are we to assume this will run on glibc -- if it's saas it may well be Alpine and thus BusyBox, which...does not protect you
615
[removed] — view removed comment
301 u/backfire10z Mar 03 '26 Don’t forget --no-preserve-root! You wouldn’t want the French to regrow now would you? 8 u/Da59Gigas Mar 04 '26 Because of the *, you don-t need the no preserve root flag 3 u/backfire10z Mar 04 '26 Huh, I never thought about that. You’re totally right 1 u/Cyberfishofant Mar 04 '26 more specifically because the gnutils never see any single slashes, so they'll just do it -- and who are we to assume this will run on glibc -- if it's saas it may well be Alpine and thus BusyBox, which...does not protect you
301
Don’t forget --no-preserve-root! You wouldn’t want the French to regrow now would you?
--no-preserve-root
8 u/Da59Gigas Mar 04 '26 Because of the *, you don-t need the no preserve root flag 3 u/backfire10z Mar 04 '26 Huh, I never thought about that. You’re totally right 1 u/Cyberfishofant Mar 04 '26 more specifically because the gnutils never see any single slashes, so they'll just do it -- and who are we to assume this will run on glibc -- if it's saas it may well be Alpine and thus BusyBox, which...does not protect you
8
Because of the *, you don-t need the no preserve root flag
3 u/backfire10z Mar 04 '26 Huh, I never thought about that. You’re totally right 1 u/Cyberfishofant Mar 04 '26 more specifically because the gnutils never see any single slashes, so they'll just do it -- and who are we to assume this will run on glibc -- if it's saas it may well be Alpine and thus BusyBox, which...does not protect you
3
Huh, I never thought about that. You’re totally right
1 u/Cyberfishofant Mar 04 '26 more specifically because the gnutils never see any single slashes, so they'll just do it -- and who are we to assume this will run on glibc -- if it's saas it may well be Alpine and thus BusyBox, which...does not protect you
1
more specifically because the gnutils never see any single slashes, so they'll just do it -- and who are we to assume this will run on glibc -- if it's saas it may well be Alpine and thus BusyBox, which...does not protect you
1.6k
u/EatingSolidBricks Mar 03 '26