3 ms·
I wonder, what will "DROP *;" license plate do?
by baybal2 7y ago
I wonder, what will "DROP *;" license plate do?
- desas 7y agoNah, because it's not unsanitized SQL at fault, but people writing a literal NULL in the license plate field when there isn't one.
- delinka 7y agoNothing because it's not unsanitized SQL at fault.
- SamuelAdams 7y agoMost states do not allow special characters in the plate text.
- reaperducer 7y agoDepends on how you define "special." I've seen hearts on California tags, and I think some glyphs on Virginia tags, but I might not be remembering that correctly.
- scarejunba 7y agoThat's just part of the design. They are ignored when you type it in, etc. and you can't have ABC<heart>123 and ABC123 simultaneously existing because they're the same to the DMV.
- Scoundreller 7y agoProbably can’t do special characters, but maybe ASCII (0x23) will let you get around it.
- entropicdrifter 7y ago0x3b so your plate is just ";" in some systems, maybe?
- rhacker 7y agoShould be "; DROP *; Lic. plates are entered into thousands of systems, so yeah it can have an effect somewhere.