PT0-002 · Question #340
A penetration tester executes the following Nmap command and obtains the following output: Which of the following commands would BEST help the penetration tester discover an exploitable service?
The correct answer is B. nmap -v --script=mysql-info.nse remotehost. -v: Enables verbose mode. --script=mysql-info.nse: Executes the Nmap script "mysql-info.nse," which is designed to gather information about a MySQL server. This command is used to obtain information about the MySQL service running on the target host, including version details…
Question
A penetration tester executes the following Nmap command and obtains the following output:
Which of the following commands would BEST help the penetration tester discover an exploitable service?
Exhibit
Options
- Anmap -v -p 25 --script smtp-enum-users remotehost
- Bnmap -v --script=mysql-info.nse remotehost
- Cnmap --script=smb-brute.nse remotehost
- Dnmap -p 3306 --script "httpvuln" remotehost
How the community answered
(21 responses)- A5% (1)
- B71% (15)
- C10% (2)
- D14% (3)
Explanation
-v: Enables verbose mode. --script=mysql-info.nse: Executes the Nmap script "mysql-info.nse," which is designed to gather information about a MySQL server. This command is used to obtain information about the MySQL service running on the target host, including version details and configuration.
Topics
Community Discussion
No community discussion yet for this question.
