diceware/wordlist/go-create-wordlist.sh
Douglas Muth 898377962a Added EFF wordlist, and updated PHP script and shell script to generate it.
Also updated the generated Javascript to show the source. #6
2017-07-09 13:36:42 -04:00

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 "# "