November 2019
Intermediate to advanced
346 pages
9h 36m
English
In the following steps, we will train PassGAN on a corpus of leaked passwords and then use it to generate new password guesses. Let's get started:
python train.py --output-dir output --training-data data/train.txt
python sample.py \--input-dir pretrained \--checkpoint pretrained/checkpoints/195000.ckpt \--output gen_passwords.txt \--batch-size 1024 \--num-samples 100000
Your Terminal should look something like the following:
