Skip to content

Instantly share code, notes, and snippets.

@tunelko
Last active September 19, 2018 17:22
Show Gist options
  • Save tunelko/6d50b41670b4cf104e94077538282437 to your computer and use it in GitHub Desktop.
Save tunelko/6d50b41670b4cf104e94077538282437 to your computer and use it in GitHub Desktop.
#!/bin/bash
for flags in {1..45}; do echo "$flags: $(openssl rand -hex 16)" >> passwords && for lines in $(cut -f 2 -d ":" passwords); do echo "flag{$lines}" > /home/reto/flag_$flags.txt; done;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment