Courseiva

PT0-002 Reconnaissance and Enumeration Practice Question

A penetration tester is performing active reconnaissance on a web application and wants to discover hidden directories and files. Which tool would be most effective for brute-forcing directory names based on a wordlist?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Gobuster

Gobuster is a tool used for directory/file brute-forcing using wordlists. Dirb is similar but older; gobuster is more modern and flexible.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Gobuster

    Why this is correct

    It's a brute-force tool that uses wordlists to discover directories and files on web servers by sending HTTP requests and matching status codes. Unlike vulnerability scanners, Gobuster focuses purely on resource enumeration, making it ideal for mapping an application's structure. In active reconnaissance, it directly interacts with the target to reveal hidden paths.

  • ✗

    Nikto

    Why it's wrong here

    Nikto is a web vulnerability scanner that checks for thousands of known dangerous files, outdated software, and server misconfigurations. It does not perform directory brute-forcing; its scanning methodology relies on signature-based checks for pre-existing vulnerabilities. While it may spider or perform some checks, its core purpose is finding security weaknesses, not enumerating directory structures.

  • ✗

    theHarvester

    Why it's wrong here

    theHarvester is a passive OSINT tool that gathers emails, subdomains, and hostnames from public search engines and databases. It does not actively transmit probes to the target; instead, it relies on publicly indexed information. Therefore, it is unsuitable for active directory brute-forcing, which requires sending a high volume of requests to the target.

  • ✗

    WPScan

    Why it's wrong here

    WPScan is a specialized WordPress security scanner that enumerates WordPress-specific elements like plugins, themes, and users. It uses the WordPress REST API and fingerprinting to identify vulnerabilities. Although it can discover some directories, its scope is limited to WordPress installations and it is not a generic directory brute-forcing tool.

About these practice questions

Courseiva writes every PT0-003 question from scratch — 777 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This PT0-003 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PT0-003 exam.