CPENT Network And Perimeter Exploitation Practice Question
A penetration tester needs to enumerate available shares and permissions on a remote Windows file server during an internal audit. Which TWO tools or commands can be used to query SMB shares? (Choose TWO)
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
✓
smbclient -L //target-ip
Smbclient and enum4linux are standard tools for enumerating SMB shares on Windows and Samba servers.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
smbclient -L //target-ip
Why this is correct
The smbclient tool with the -L flag lists available shares on the target host.
- ✗
sqlmap -u target-url
Why it's wrong here
Sqlmap targets web SQL injection vulnerabilities.
- ✓
enum4linux -a target-ip
Why this is correct
Enum4linux performs comprehensive enumeration of shares, users, and OS info via SMB.
- ✗
nmap --script http-enum
Why it's wrong here
The http-enum script targets web server directories, not SMB shares.
- ✗
aircrack-ng target.cap
Why it's wrong here
Aircrack-ng cracks wireless encryption captures.
About these practice questions
This CPENT question is part of Courseiva's 274-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official EC-Council exam blueprint
This CPENT practice question is part of Courseiva's free EC-Council 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 CPENT exam.