nerdexam
Mile2_Security

ML0-320 · Question #242

Which of the following SQL scripts will discover the usernames and hashed passwords from a MSSQL server?

The correct answer is C. SELECT name, password FROM master..sysxlogins. See the full explanation below for the reasoning.

Question

Which of the following SQL scripts will discover the usernames and hashed passwords from a MSSQL server?

Options

  • ASELECT FROM
  • BSELECT name, password FROM master..login UNION ALL SELECT *FROM database.log
  • CSELECT name, password FROM master..sysxlogins
  • DSELECT uname AND passwd FROM master

How the community answered

(38 responses)
  • A
    3% (1)
  • B
    5% (2)
  • C
    82% (31)
  • D
    11% (4)

Community Discussion

No community discussion yet for this question.

Full ML0-320 Practice