r/shittyprogramming • • Nov 27 '17

'); DROP TABLE Posts;--

EDIT: I tried

298 Upvotes

22 comments sorted by

197

u/appnic Nov 27 '17

You probably just killed some little bot out there... :(

8

u/SentientStoic Nov 27 '17

Survival of the fittest; only the strongest bots live.

43

u/DrNeutrino Nov 27 '17

<script>alert("Muahaha!")</script>

EDIT: Darn

20

u/PM_ME_YOUR_HIGHFIVE Nov 27 '17

<meta http-equiv="refresh" content="2;url=https://www.youtube.com/watch?v=dQw4w9WgXcQ" />

I tried too

25

u/djulioo Nov 27 '17

dQw4w

Can't fool me, fool!

16

u/AdditionalThinking Nov 27 '17

Always remember:

XcQ;
Link stays blue

1

u/Armond436 Dec 16 '17

Is it rickroll, NSFL, or what?

1

u/AdditionalThinking Dec 16 '17

Rickroll. It's part of the URL for the official vevo music video on youtube.

1

u/[deleted] Nov 27 '17

<meta http-equiv="refresh" content="2;url=https://www.youtube.com/watch?v=VTiHbv-pL68" />

Did not try

33

u/HerbertTarlek Nov 27 '17

...and trying is the first step towards failure.

TMYK

11

u/veskoni Nov 27 '17

Didn’t work because data is stored in xml files

3

u/exatron Nov 27 '17

And failed miserably. The lesson is never try.

1

u/SentientStoic Nov 27 '17

If I recall correctly, Reddit doesn't actually have a posts table. Instead, it has something like a "post_data" table and a "post_thing" table. Relevant link. Long story short, when Reddit started becoming massively popular, they had to do some creative things with their tables to keep up with user demand.