اختبار شهادة Certified Ethical Hacker (CEH) V13

السؤال 234 من 270

كل الأسئلة

You are testing a web application for SQL injection. You know the backend is Microsoft SQL Server. In the login form you submit the following: Username: attack' or 1=1 - Password: 123456. If the input is vulnerable, which SQL statement is the server most likely to execute?

الخيارات

  • A select * from Users where UserName = 'attack'' or 1=1 -- and UserPassword = '123456'
  • B select * from Users where UserName = 'attack' or 1=1 -- and UserPassword = '123456'
  • C select * from Users where UserName = 'attack or 1=1 -- and UserPassword = '123456'
  • D select * from Users where UserName = 'attack' or 1=1 --' and UserPassword = '123456'

النقاشات

لا توجد نقاشات منشورة لهذا السؤال حالياً.