mirror of
https://github.com/dmuth/diceware.git
synced 2024-11-21 16:36:28 -05:00
898377962a
Also updated the generated Javascript to show the source. #6
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 "# "
|
|
|
|
|