0327: "Exploits of a Mom"

This forum is for the individual discussion thread that goes with each new comic.

Moderators: Magistrates, Prelates, Moderators General

0327: "Exploits of a Mom"

Postby joshdrilling » Wed Oct 10, 2007 4:04 am UTC

Image
Alt text: Her daughter is named Help I'm trapped in a driver's license factory.

Hooey! This is probably the most clever naming that's ever been done. Can you think of anything more clever?
User avatar
joshdrilling
 
Posts: 25
Joined: Tue Mar 13, 2007 5:22 am UTC

Re: "Exploits of a Mom"

Postby taptap » Wed Oct 10, 2007 4:04 am UTC

HAHAHAHA I can't wait to have a kid now!

Davean wrote:Only the bots can see the entire forum the mods have dedicated to bashing taptap for asking questions with obvious answers. It should look good when his next interviewer Googles him before the interview.
User avatar
taptap
I laughed so hard i fell out of my concubine
 
Posts: 393
Joined: Fri Sep 07, 2007 4:46 am UTC
Location: Hidin' from the Brain Fuckler

Re: "Exploits of a Mom"

Postby aerojad » Wed Oct 10, 2007 4:05 am UTC

This blows every name pun clear out of the water. I love it!
Image
User avatar
aerojad
Wall O' AWESOME
 
Posts: 200
Joined: Wed Sep 26, 2007 8:54 am UTC
Location: Detroit, MI

Re: "Exploits of a Mom"

Postby kwan3217 » Wed Oct 10, 2007 4:06 am UTC

What does the ;-- at the end do?
Some people look at what is, and ask "why?"
Some people dream about what isn't, and ask "why not?"
I think about it for a while, then say "Oh, that's why not."
kwan3217
 
Posts: 27
Joined: Wed Jul 11, 2007 1:44 am UTC
Location: Sun-synchronous Earth Orbit

Re: "Exploits of a Mom"

Postby aerojad » Wed Oct 10, 2007 4:06 am UTC

kwan3217 wrote:What does the ;-- at the end do?

end the line, I believe
Image
User avatar
aerojad
Wall O' AWESOME
 
Posts: 200
Joined: Wed Sep 26, 2007 8:54 am UTC
Location: Detroit, MI

Re: "Exploits of a Mom"

Postby nyeguy » Wed Oct 10, 2007 4:06 am UTC

The sad thing is I can see this kind of thing happening to my school district. School IT departments are a joke.
Image
User avatar
nyeguy
 
Posts: 580
Joined: Sat Aug 04, 2007 5:59 pm UTC

Re: "Exploits of a Mom"

Postby stormgren » Wed Oct 10, 2007 4:07 am UTC

Gah, I was about to make the thread.

The ;-- makes the rest of the query a comment so it doesn't break on a syntax error.
User avatar
stormgren
 
Posts: 80
Joined: Wed May 16, 2007 11:09 pm UTC
Location: over the hills and far away

Re: "Exploits of a Mom"

Postby Geekthras » Wed Oct 10, 2007 4:11 am UTC

HAH Amazing! I wish I could do something like this.
Wait. With a SPOON?!
User avatar
Geekthras
3) What if it's delicious?
 
Posts: 529
Joined: Wed Oct 03, 2007 4:23 am UTC
Location: Around Boston, MA

Re: "Exploits of a Mom"

Postby Ren » Wed Oct 10, 2007 4:21 am UTC

Very, very classy. I especially enjoyed the alt-text.
I'm not emo, I'm oboe.

MotleyJesster (12:34:04 PM): Better than moping around being all "I do not need love, I have indie music and a wind instrument!"
User avatar
Ren
Rockin' Robin
 
Posts: 2933
Joined: Tue Mar 06, 2007 3:06 pm UTC
Location: Kitchener, Ontario

Re: "Exploits of a Mom"

Postby Xj6theLightbringer » Wed Oct 10, 2007 4:22 am UTC

Registered just to say how amazing this is. It made me lol. Pretty darn hard. You rock Randall :P
Xj6theLightbringer
 
Posts: 1
Joined: Wed Oct 10, 2007 4:15 am UTC

Re: "Exploits of a Mom"

Postby Lord Bob » Wed Oct 10, 2007 4:24 am UTC

That's a bad ass mom.
Image
Damn, I thought it was only surrounded by 14 mines...
User avatar
Lord Bob
 
Posts: 131
Joined: Wed Aug 29, 2007 5:20 am UTC

Re: "Exploits of a Mom"

Postby shawncplus » Wed Oct 10, 2007 4:25 am UTC

For Example:
Code: Select all
INSERT INTO students (address, phone, name) VALUES ($_POST['address'], $_POST['phone'], $_POST['name']);


If the name was input as Robert'); DROP TABLE students;-- the query would end up looking like this

Code: Select all
INSERT INTO students(address, phone, name) VALUES ('123 example', 555-555-5555', 'Robert');
DROP TABLE students;
Excuse me while I gather the virgin sacrifice and assemble the pentagram required to solve your problem.
User avatar
shawncplus
 
Posts: 15
Joined: Wed Aug 01, 2007 3:10 am UTC

Re: "Exploits of a Mom"

Postby Geekthras » Wed Oct 10, 2007 4:29 am UTC

A chinese couple named their child "@" because a't sounds like "love him" in Mandarin or something.

@@rpmit.edu? WTF?

For some reason, someone I had to email had an address like
rss@lightspeed.com.
Wait. With a SPOON?!
User avatar
Geekthras
3) What if it's delicious?
 
Posts: 529
Joined: Wed Oct 03, 2007 4:23 am UTC
Location: Around Boston, MA

Re: "Exploits of a Mom"

Postby Steve the Pocket » Wed Oct 10, 2007 4:36 am UTC

My CS prof needs to see this. As does my PHP mentor who warned me of this type of security risk.

Heck, I might forward this to the head of our IT dept. too just for fun.
cephalopod9 wrote:Only on Xkcd can you start a topic involving Hitler and people spend the better part of half a dozen pages arguing about the quality of Operating Systems.

Baige.
User avatar
Steve the Pocket
 
Posts: 456
Joined: Mon Apr 23, 2007 4:02 am UTC
Location: Going downtuuu in a Luleelurah!

Re: "Exploits of a Mom"

Postby eryanv » Wed Oct 10, 2007 4:40 am UTC

I'm not sure I get how the alt text relates to this comic, except being a very unusual name. Is it a reference to something?
User avatar
eryanv
 
Posts: 2
Joined: Mon Oct 08, 2007 4:42 pm UTC
Location: Champaign, IL

Re: "Exploits of a Mom"

Postby marco » Wed Oct 10, 2007 4:44 am UTC

I laughed so hard at this one! that is pure genius! right there! I can't wait for tomorrow to show this to my DB professor
"I wonder if she lets anyone into that island of light"
User avatar
marco
 
Posts: 34
Joined: Fri Jul 06, 2007 5:59 am UTC
Location: -----

Re: "Exploits of a Mom"

Postby Devilsaur » Wed Oct 10, 2007 4:45 am UTC

Great comic !

eryanv wrote:I'm not sure I get how the alt text relates to this comic, except being a very unusual name. Is it a reference to something?
Perhaps http://xkcd.com/10/
Though I seem to recall "help im trapped in a __ factory" from some poem or douglas adam-esque story...
User avatar
Devilsaur
 
Posts: 306
Joined: Wed Jul 18, 2007 4:45 am UTC

Re: "Exploits of a Mom"

Postby Talonz » Wed Oct 10, 2007 4:48 am UTC

Loved it... will show it to my AP computer science teacher. I'm hoping he'll understand.
Talonz
 
Posts: 5
Joined: Wed Jan 17, 2007 8:45 pm UTC

Re: "Exploits of a Mom"

Postby BadarZ » Wed Oct 10, 2007 4:49 am UTC

... This joke was done before on http://bash.org/?747235

But still, nice to see it in a comic.
BadarZ
 
Posts: 1
Joined: Wed Oct 10, 2007 4:47 am UTC

Re: "Exploits of a Mom"

Postby ksr17 » Wed Oct 10, 2007 4:50 am UTC

Come on boys, no "ultimate MILF" comment yet!?
ksr17
 
Posts: 11
Joined: Fri Aug 03, 2007 5:31 am UTC

Re: "Exploits of a Mom"

Postby Raphael » Wed Oct 10, 2007 4:51 am UTC

I recall this sort of thing being termed 'made of win'. I would kill for a mother like that. :D
Raphael
 
Posts: 25
Joined: Fri Aug 17, 2007 5:58 am UTC

Re: "Exploits of a Mom"

Postby CaptainJuan » Wed Oct 10, 2007 4:53 am UTC

eryanv wrote:I'm not sure I get how the alt text relates to this comic, except being a very unusual name. Is it a reference to something?



I'm not sure whether to spoil this or not...

Ah, what the hell.

Spoiler:
If the girl's name is "Help I'm trapped in a driver's license factory", then, her driver's license would read, "Help I'm trapped in a driver's license factory", which might indicate to someone who looked at it that there was some person trapped in a driver's license factory trying desperately to escape and communicating with the outside world via the licenses that he or she produced while trapped in the factory.


I loved it. I laughed harder at the alt-text than at the comic itself.

Edit: Redundant grammar is redundant. Twice.
Last edited by CaptainJuan on Wed Oct 10, 2007 4:56 am UTC, edited 2 times in total.
Eenie, meenie, miney, soup.
User avatar
CaptainJuan
 
Posts: 15
Joined: Sat Dec 23, 2006 2:44 am UTC

Re: "Exploits of a Mom"

Postby pi_neutrino » Wed Oct 10, 2007 4:54 am UTC

Devilsaur wrote:Great comic !

eryanv wrote:I'm not sure I get how the alt text relates to this comic, except being a very unusual name. Is it a reference to something?
Perhaps http://xkcd.com/10/
Though I seem to recall "help im trapped in a __ factory" from some poem or douglas adam-esque story...


It also shares similarities with a quote from Hogfather, found on a note from inside a fortune cookie: "Help help help Ive fallen in the crakker machine I cant keep runin on this roller please get me out"
pi_neutrino
 
Posts: 1
Joined: Wed Oct 10, 2007 4:49 am UTC

Re: "Exploits of a Mom"

Postby suso » Wed Oct 10, 2007 4:56 am UTC

What's that sound mom? Its the sound of millions of printers printing, scissors cutting and tacks pinning this comic on cubical walls around the world.

No, what's that sound?

Oh that, that's the hum. Get used to it son.
Imagine theres no signatures....
User avatar
suso
 
Posts: 165
Joined: Wed Jan 17, 2007 6:23 pm UTC
Location: Sky Grund

Re: "Exploits of a Mom"

Postby Economica » Wed Oct 10, 2007 4:57 am UTC

Great update; best in a while, actually.

This comic has won two (2) Internets.
Travel well, we'll see you on the other side.
Economica
 
Posts: 82
Joined: Thu Jul 12, 2007 7:56 pm UTC

Re: "Exploits of a Mom"

Postby Spook » Wed Oct 10, 2007 4:59 am UTC

I registered just to say...

What a milf.
Spook
 
Posts: 1
Joined: Wed Oct 10, 2007 4:58 am UTC

Re: "Exploits of a Mom"

Postby Geekthras » Wed Oct 10, 2007 5:16 am UTC

The most popular example of the alt text is "Help, I'm trapped in a fortune cookie factory!"
Wait. With a SPOON?!
User avatar
Geekthras
3) What if it's delicious?
 
Posts: 529
Joined: Wed Oct 03, 2007 4:23 am UTC
Location: Around Boston, MA

Re: "Exploits of a Mom"

Postby habes » Wed Oct 10, 2007 5:18 am UTC

Don't sanitize DB input, use BIND VARIABLES!

(If you do DB programming and you don't know what bind variables are then run, don't walk, to your DB's documentation about them! Here's an Oracle-specific tutorial: http://www.akadia.com/services/ora_bind_variables.html)

btw this comic is one of the funniest xkcd's ever!
habes
 
Posts: 1
Joined: Wed Oct 10, 2007 4:47 am UTC

Re: "Exploits of a Mom"

Postby tesseract » Wed Oct 10, 2007 5:40 am UTC

Wow, this one absolutely wins. It will be the first one that gets put up on my dorm wall.

If any of the XKCDs deserve to be done in real life, this is it. Who will volunteer to change their name?
Image
User avatar
tesseract
 
Posts: 29
Joined: Fri Sep 07, 2007 4:16 am UTC
Location: Milwaukee

Re: "Exploits of a Mom"

Postby 1337geek » Wed Oct 10, 2007 5:41 am UTC

I must say, the tooltips are what really make these comics so great. If the comic is so-so, the text makes up for it. If the comic is awesome (like this one), the text adds an extra laugh. I always have to wait until just before my laughter dies down before I put my mouse over the picture. That way, I get maximum enjoyment.
"Duct tape is like the Force. It has a light side, a dark side, and it holds the universe together." --Carl Zwanzig
User avatar
1337geek
 
Posts: 545
Joined: Mon Oct 01, 2007 4:21 am UTC

Re: "Exploits of a Mom"

Postby williamager » Wed Oct 10, 2007 5:51 am UTC

shawncplus wrote:For Example:
Code: Select all
INSERT INTO students (address, phone, name) VALUES ($_POST['address'], $_POST['phone'], $_POST['name']);


If the name was input as Robert'); DROP TABLE students;-- the query would end up looking like this

Code: Select all
INSERT INTO students(address, phone, name) VALUES ('123 example', '555-555-5555', 'Robert');
DROP TABLE students;


Code: Select all
INSERT INTO students(address, phone, name) VALUES ('123 example', '555-555-5555', 'Robert');
DROP TABLE students;--');


Wouldn't it be more accurate to say that it would look like the this? It isn't as neat, but shows the necessity of the --. The purpose of the -- is easier to see, however, when considering a situation where the values aren't inserted with the name last:

Code: Select all
INSERT INTO students(address, name, phone) VALUES ('123 example', 'Robert'); DROP TABLE students;--', '555-555-5555');


However, as my knowledge of SQL implementations is rather rudimentary, I'm not sure whether the exploit would actually work in this case, due to the mismatch between the number of values and the number of columns.

tesseract wrote:If any of the XKCDs deserve to be done in real life, this is it. Who will volunteer to change their name?


If a database is destroyed by someone who has changed their name in such a way, has that person broken the law? I can see ways that such a case could be argued, at least in the US, but the legal arguments could prove rather amusing and interesting. In fact, a whole host of such situations could be considered: if, for example, one changes one's name to "Fire!", and someone calls one's name in a crowded room, who is at fault?

Changing one's name to "Help I'm trapped in a driver's licence factory" should, of course, be legal, but one would need to find out whether driver's licences in one's area would have the whole name printed on them, or one might receive something like "Help factory" or some other unfortunate and unintended combination. I do know from experience, however, that the California DMV will split long names onto two different lines, so it might be possible to have the whole name.
Do I dare
Disturb the universe?
In a minute there is time
For decisions and revisions which a minute will reverse
User avatar
williamager
 
Posts: 299
Joined: Wed Dec 27, 2006 9:32 am UTC
Location: Aldeburgh, Suffolk (actually US...)

Re: "Exploits of a Mom"

Postby SEN5241 » Wed Oct 10, 2007 6:01 am UTC

Aren't you guys forgetting a 'commit;' statement in there somewhere?

*confused*
*maybe used to super old dbs's like DB/2 and IMS*

Oh, and the younger brother's name is probably Timmy'; sudo rm -rf / #
SEN5241
 
Posts: 4
Joined: Wed Oct 10, 2007 5:43 am UTC

Re: "Exploits of a Mom"

Postby RandomPrecision » Wed Oct 10, 2007 6:10 am UTC

Get out of my mind, Randall!

I had exactly the same idea a few months ago. In fact, I'm pretty sure I was talking to someone named Robert about it. :shock:
RandomPrecision
 
Posts: 5
Joined: Wed Apr 11, 2007 5:28 am UTC

Re: "Exploits of a Mom"

Postby 6453893 » Wed Oct 10, 2007 6:21 am UTC

This is the first comic in quite awhile to make me laugh, and the second or third ever to make me literally fall to the floor laughing. Also, what happened to the coffee table?
User avatar
6453893
 
Posts: 557
Joined: Wed Dec 13, 2006 2:40 am UTC
Location: Australia

Re: "Exploits of a Mom"

Postby Personman » Wed Oct 10, 2007 6:21 am UTC

BadarZ wrote:... This joke was done before on http://bash.org/?747235


And, more recently and explicitly similarly, on Cory Doctorow's August 5th podcast, here, a little ways in, where he discusses how his wife refused to allow him to name his daughter in such a manner, and also didn't allow him to name her Abcdefghijklmnopqrstuvwxyz.

Clearly this is the sort of thing that many different nerds can come up with independently, but still...
A warb degombs the brangy. Your gitch zanks and leils the warb.
Personman
 
Posts: 11
Joined: Mon Sep 24, 2007 5:39 am UTC

Re: "Exploits of a Mom"

Postby devmorgan » Wed Oct 10, 2007 6:25 am UTC

The SQL would need to look like this to work (this is possible).
Code: Select all
INSERT INTO students VALUES ('123 example', 'Robert'); DROP TABLE students;--', '555-555-5555');


The hope is that the database will accept nulls for not passed data. This will allow the:
Code: Select all
INSERT INTO students VALUES ('123 example', 'Robert');

statement to fire without error.

The next statement would become:
Code: Select all
DROP TABLE students;--', '555-555-5555');


For those that are database geeks - this is a clever comment... DROP TABLE students; will drop the table... then the rest of the line is commented out so no error occurs.

The correct term is an SQL injection attack :)
devmorgan
 
Posts: 2
Joined: Wed Oct 10, 2007 6:22 am UTC

Re: "Exploits of a Mom"

Postby Sinisterff » Wed Oct 10, 2007 6:33 am UTC

This comic rocked, I'm no expert in exploits, but i was able to understand this.
Sql injections FTW
Sinisterff
 
Posts: 10
Joined: Mon Mar 19, 2007 6:49 am UTC

Re: "Exploits of a Mom"

Postby else » Wed Oct 10, 2007 6:34 am UTC

This was an awesome comic. I've been carrying on about this sort of thing in the work i'm doing and no one's taking much notice. Armed with a comic stuck on the communal whiteboard, they can't ignore me now!
User avatar
else
 
Posts: 8
Joined: Sun Oct 07, 2007 5:28 am UTC

Re: "Exploits of a Mom"

Postby Unforgiven » Wed Oct 10, 2007 6:41 am UTC

Sanitizing input is so last-century. Parameterized queries FTW!
Code: Select all
using( SqlCommand cmd = connection.CreateCommand() )
{
    cmd.CommandText = "INSERT INTO students (name, phone) VALUES (@name, @phone)";
    cmd.Parameters.AddWithValue("@name", name);
    cmd.Parameters.AddWithValue("@phone", phone);
    cmd.ExecuteNonQuery();
}

No possibility of SQL injection, ever.

(That's C# for those who don't know it).
"Now we're at the museum. Do you think they'll have DDR in there too?"
"It's Japan. Of course they will."
User avatar
Unforgiven
 
Posts: 162
Joined: Wed Jul 25, 2007 8:48 am UTC
Location: Tokyo, Japan

Re: "Exploits of a Mom"

Postby Delbin » Wed Oct 10, 2007 6:46 am UTC

The comic wouldn't quite have worked without the coffee.
User avatar
Delbin
 
Posts: 472
Joined: Wed Jun 13, 2007 7:50 pm UTC

Next

Return to Individual XKCD Comic Threads

Who is online

Users browsing this forum: AluisioASG, BlitzGirl, Eternal Density, ZoomanSP and 21 guests