The /**/ is a comment syntax used to bypass simple security filters that might block spaces. How the Attack Works
sql server - What is this hacker trying to do? - Stack Overflow MEGA'and(select 1)>0waitfor/**/delay'0:0:2
If the website takes exactly 2 seconds (or more) to load, the attacker knows the database is vulnerable to SQL commands. The /**/ is a comment syntax used to
: This likely targets a field in a web application where the input "MEGA" is expected. The trailing single quote ( ' ) is intended to "break out" of the application's intended SQL query. : This likely targets a field in a
If you are seeing this in your web server logs, it means someone—or an automated scanner—is probing your site for security weaknesses. Developers typically prevent these attacks using or prepared statements , which ensure that user input is never executed as code.
Once confirmed, they can use more complex versions of this command to ask the database "yes/no" questions to slowly extract usernames, passwords, or other sensitive data. Security Context
: This is the core instruction for the database. It tells the server to pause for exactly 2 seconds before responding.