Question: # ! / bin / bash # Read MD 5 values from file _ 1 . txt while read - r md 5 ; do
#binbash
# Read MD values from filetxt
while read r md; do
# Iterate over each password in rockyoutoptxt
while read r password; do
# Compute the MD hash of the password
hash$echo n $password" mdsum cut df
# Compare the hash with the target MD value
if $hash" $md; then
echo "Password for $md is $password"
break
fi
done "rockyoutoptxt
done "filetxt
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
