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)- A3% (1)
- B5% (2)
- C82% (31)
- D11% (4)
Community Discussion
No community discussion yet for this question.