Skip to content
Snippets Groups Projects
Commit 1f135adb authored by Moritz Eckert's avatar Moritz Eckert
Browse files

Add passlist gen for linux_crypt

parent 3a6f1178
No related branches found
No related tags found
No related merge requests found
Pipeline #
#!/bin/bash
if [ $# -lt 4 ]; then
echo "Usage: $0 <wordlist> <count> <algo> <outfile>"
exit 1
fi
head -"$2" "$1" |
while read p; do
echo -n "$p" | mkpasswd -m "$3" -s >> "$4"
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment