nerdexam
CompTIA

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…

Vulnerability discovery and analysis

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

PT0-002 question #340 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)
  • A
    5% (1)
  • B
    71% (15)
  • C
    10% (2)
  • D
    14% (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

#Nmap NSE#Vulnerability Discovery#MySQL#Information Gathering

Community Discussion

No community discussion yet for this question.

Full PT0-002 Practice