There are ways to properly sanitize inputs these days so NULL becomes "NULL" (string), BUT also tons of systems moved into JSON format assuming its safe. It is not. JSON is not binary safe and there are tons of unicode chars that will break JSON. I was once overseeing system that people would bring down all the time by registering usernames that the app could not properly sanitize and they in return were breaking JSO…
NULL license plate not such a bright idea
41–50 of 484 posts
Re: NULL license plate not such a bright idea
#42I love when people double down out of principle, when the only person getting hurt is themselves. He refuses to change it because he did nothing wrong...sure, but you are also the only one being hurt by it. Is this really the hill to die on?
Die on? But how - he can challenge the fines in a court of law. Since it's a vanity plate, adding an extra notoriety won't hurt.
Re: NULL license plate not such a bright idea
#43References: http://www.mekabay.com/overviews/risks/risks03_1986_06-04-19...
Re: NULL license plate not such a bright idea
#44The interesting question this article poses is whether there's a system in place for the government to revoke vanity plates it's already approved. Can they force him to change the plate?
They usually can, and various states have before.
I think they should have been allowed to keep it, frankly.
Re: NULL license plate not such a bright idea
#45This is clearly an entirely fake anecdote. Show me a pic and change my mind.
It's been blogspammed. There's photo evidence in the much better article at https://mashable.com/article/dmv-vanity-license-plate-def-co... from the DEFCON talk.
Re: NULL license plate not such a bright idea
#46This was a Python project and the product owner apparently already had learned 'None' equals NULL.
I dug into the file which we used to import the users from and discovered the user's lastname actually was 'None'.
Re: NULL license plate not such a bright idea
#47The interesting question this article poses is whether there's a system in place for the government to revoke vanity plates it's already approved. Can they force him to change the plate?
Ref: http://www.thesmokinggun.com/documents/crime/end-road-gotmil...
Re: NULL license plate not such a bright idea
#48Earlier quoted context omitted.
Nah, because it's not unsanitized SQL at fault, but people writing a literal NULL in the license plate field when there isn't one.
I wonder, what will "DROP *;" license plate do?
Re: NULL license plate not such a bright idea
#49Re: NULL license plate not such a bright idea
#50Earlier quoted context omitted.
Die on? But how - he can challenge the fines in a court of law. Since it's a vanity plate, adding an extra notoriety won't hurt.
Court isn't cheap. You're paying for it with a lawyer or with your own time
Except he just contacted the DMV. No lawyers necessary.