CompTIA PenTest+ (PT0-002) — Question 381

A penetration tester discovered a new exploit and would like to create a Metasploit module. Which of the following programming languages would be best for the penetration tester to use?

Answer options

Correct answer: D

Explanation

The correct answer is Ruby because Metasploit is primarily developed in Ruby, making it the most effective language for creating new modules. While JavaScript, Python, and Perl are useful programming languages, they are not the primary languages used in the Metasploit framework, which can complicate module development.