security - How does the SQL injection from the "Bobby Tables" XKCD …
https://stackoverflow.com/questions/332365/how-does-the-sql-injection-from-the-bobby-tables-xkcd-comic-work
WEBDec 2, 2008 · The original code in the school's program probably looks something like. q = "INSERT INTO Students VALUES ('" + FNMName.Text + "', '" + LName.Text + "')"; This is the naive way to add text input into a query, and is very bad, as you will see. After the values from the first name, middle name textbox FNMName.Text (which is Robert'); DROP TABLE ...
DA: 31 PA: 42 MOZ Rank: 52