web analytics

SQL injection attack

Options

codeling 1595 - 6639
@2018-07-10 14:31:47
string query = "SELECT * FROM Student where LastName = '" + lastName + "'";

Try this when lastName =

Jones';DELETE FROM STUDENT;--

Even if your tables are read-only, an attacker can find out a lot of information.

Comments

You must Sign In to comment on this topic.


© 2024 Digcode.com