Categories
blog fun

Hi, my name is Robert’); DROP TABLE Students;–

Exploits of a Mom:

Teacher: “Hi, this is your son’s school. We’re having some computer trouble.”
Mom: “Oh, dear – Did he break something?”
Teacher: “In a way… Did you really name your son Robert’); DROP TABLE Students;–?”
Mom: “Oh, yes. Little Bobby Tables we call him.”
Teacher: “Well, we’ve lost this year’s student records. I hope you’re ¬†happy.”
Mom: “And I hope you’ve learned to sanitize your database inputs.”

[ad name=”Adsense – text only”]
Source: xkcd.com/327

Categories
blog fun

I Am The Most Powerful Genie In The World

A programmer is walking along a beach and finds a lamp. He rubs the lamp and a genie appears. “I am the most powerful genie in the world. I can grant you any wish, but only one wish.”

The programmer pulls out a map, points to it and says, “I’d want peace in the Middle East.”

The genie responds, “Gee, I don’t know. Those people have been fighting for millennia. I can do just about anything, but this is likely beyond my limits.”

The programmer then says, “Well, I am a programmer and my programs have lots of users. Please make all my users satisfied with my software and let them ask for sensible changes.”

At which point the genie responds, “Um, let me see that map again.”

[ad name=”Adsense – text only”]