216k views
3 votes
What does an SQL injection do

2 Answers

1 vote
SQL injection is a code injection technique, used to attack data-driven applications, in which malicious SQL statements are inserted into an entry field for execution (e.g. to dump the database contents to the attacker).
User Saeed Khalafinejad
by
5.1k points
3 votes

Answer:

SQL injection is a form of hacking that uses user input fields.

Step-by-step explanation:

SQL injection is when a piece of code or entire algorithm is input where a program prompts for user input. They can be used to change or access data. To prevent this, a programmer should scrub inputs. Scrubbing data removes slashes and arrows, which or commonly used in code.

User PJLopez
by
4.9k points