Certified Ethical Hacker (CEH) Practice Question

You have pulled the following entry from a compromised Linux host's /etc/shadow file:

user:$6$sa9l8H2G$

You will attack it with John the Ripper on a workstation that has an OpenCL-capable GPU. Your goal is to use a large wordlist and have John automatically apply mangling rules while off-loading the work to the GPU. Which command accomplishes this most efficiently?

  • john --format=sha256crypt-opencl --wordlist=/usr/share/wordlists/rockyou.txt --rules hash.txt

  • john --format=sha512crypt-opencl --wordlist=/usr/share/wordlists/rockyou.txt --rules hash.txt

  • john --format=raw-sha512 --incremental --fork=4 hash.txt

  • john --format=sha512crypt --single --nolog hash.txt

Certified Ethical Hacker (CEH)
System Hacking Phases and Attack Techniques
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot