mirror of
https://github.com/dmuth/diceware.git
synced 2024-12-22 16:43:40 +00:00
Added script to create the wordlist (automation is good!)
This commit is contained in:
parent
b45ecf1715
commit
ee0be8ba2d
1 changed files with 24 additions and 0 deletions
24
wordlist/go-create-wordlist.sh
Executable file
24
wordlist/go-create-wordlist.sh
Executable file
|
@ -0,0 +1,24 @@
|
|||
#!/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 "# "
|
||||
|
||||
|
||||
./create-wordlist.php > ${JS}
|
||||
|
||||
echo "# "
|
||||
echo "# Done! List created at ${JS}"
|
||||
echo "# "
|
||||
|
||||
|
Loading…
Reference in a new issue