mirror of
https://github.com/dmuth/diceware.git
synced 2024-11-23 17:26:34 -05:00
40 lines
649 B
Bash
Executable file
40 lines
649 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# Wrapper to create our wordlist from any directory
|
|
#
|
|
|
|
# Errors fatal
|
|
set -e
|
|
|
|
pushd $(dirname $0) > /dev/null
|
|
|
|
|
|
JS="wordlist-5-dice.js"
|
|
echo "# "
|
|
echo "# Creating wordlist '$JS'..."
|
|
echo "# "
|
|
./create-wordlist.php --dice 5 > ${JS}
|
|
|
|
JS="wordlist-6-dice.js"
|
|
echo "# "
|
|
echo "# Creating wordlist '$JS'..."
|
|
echo "# "
|
|
./create-wordlist.php --dice 6 > ${JS}
|
|
|
|
JS="wordlist-7-dice.js"
|
|
echo "# "
|
|
echo "# Creating wordlist '$JS'..."
|
|
echo "# "
|
|
./create-wordlist.php --dice 7 > ${JS}
|
|
|
|
JS="wordlist-5-dice-eff.js"
|
|
echo "# "
|
|
echo "# Creating EFF 5-dice Wordlist..."
|
|
echo "# "
|
|
./create-wordlist.php --eff > ${JS}
|
|
|
|
echo "# "
|
|
echo "# Done!"
|
|
echo "# "
|
|
|
|
|