docker build -t dkf .
docker run -p 8080:8080 -v /path/to/your/.dkf:/root/.dkf --name dkf dkf
Install go-bindata
go install github.com/go-bindata/go-bindata/...@latest
Install "air" (for live-reload development)
go install github.com/cosmtrek/air@latest
Download dependencies
go mod vendor
make bindata-dev
go install github.com/valyala/quicktemplate/qtc@latest
make serve
go run --tags "fts5" cmd/dkf/main.go --no-browser
Download rockyou.txt
curl -L https://github.com/brannondorsey/naive-hashcat/releases/download/data/rockyou.txt -o rockyou.txt
Import rockyou.txt in database
./dkf build-prohibited-passwords
useradd --system --create-home dkf