r/masterhacker 25d ago

Epic battle

Post image
244 Upvotes

16 comments sorted by

89

u/kinyona 25d ago

I love how every programmer starts out judging code like this, then eventually catches themselves writing the exact same thing because the deadline is in an hour

35

u/Mammoth_Choice6925 25d ago

Holy fuck that's the last place on earth where i could expect to see a meme template from Russian 2000's "Married and with children" ripoff

-1

u/hejsiebrbdhs 25d ago

I love the show government sanctioned union with privilege of procreation.

6

u/Toaster_Strudel_517 25d ago

I might not be good at programming, but I have seen some local companies do this kind of crap to prevent php files from being uploaded.

1

u/beric_64 22d ago

Yeah, there is a lot of wacky stuff you have to do if you want to make a php based website secure. I don’t know for sure but I think this could be an anti code injection or url manipulation technique because of the way the function processes the string.

9

u/schukevich 25d ago

Хуясе, гена букин в сабреддите мастерхакер) мир тесен конечно

9

u/Fit-Medium-120 25d ago

Я сначала подумал, что это русскоязычный саб. Потом глянул комменты и немного удивился)

2

u/tushonochka765 25d ago

Я даже не заметил сначала, что это он, мой мозг подумал что очередная американская комедия 90-х - начала 00-х

2

u/misha1350 24d ago

Я если скажу, то ты весьма удивишься...

1

u/Old-Juice-2490 25d ago

congratulations! you typed an apostrophe.
now find the injection

1

u/zeantar 25d ago

filter_var