CompTIA
PT0-001 · Question #159
After successfully enumerating users on an Active Directory domain controller using enum4linux a penetration tester wants to conduct a password-guessing attack Given the below output: Which of the fol
Sign in or unlock PT0-001 to reveal the answer and full explanation for question #159. The question stem and answer options stay visible for context.
Reconnaissance and enumeration
Question
After successfully enumerating users on an Active Directory domain controller using enum4linux a penetration tester wants to conduct a password-guessing attack Given the below output:
Which of the following can be used to extract usernames from the above output prior to conducting the attack?
Exhibit
Options
- Acat enum41inux_output.txt > grep -v user I sed
s/\[//' I seds/]//' 2> usernames.txt - Bgrep user enuza41inux_output.txt I awk '{print $1}' | cut -d[ -? I cut -d] -f1>; username.txt
- Cgrep -i rid v< enura.41inux_output. txt' | cut -d: -? i cut -d] -f1>; usernames. txt
- Dcut -d: -f2 enum41inux_output.txt | awk '{print S2}' I cut -d: -f1 > usernaraes.txt
Unlock PT0-001 to see the answer
You've previewed enough free PT0-001 questions. Unlock PT0-001 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#enum4linux#username enumeration#command-line parsing#Active Directory
