diceware/wordlist/go-create-wordlist.sh

25 lines
331 B
Bash
Raw Normal View History

#!/bin/bash
#
# Wrapper to create our wordlist from any directory
#
# Errors fatal
set -e
pushd $(dirname $0) > /dev/null
JS="wordlist.js"
echo "# "
echo "# Creating wordlist Javascript..."
echo "# "
2017-02-01 21:51:45 -05:00
#./create-wordlist.php # Debugging
./create-wordlist.php > ${JS}
echo "# "
echo "# Done! List created at ${JS}"
echo "# "