4 ms·
It may be considered a best practice to avoid creating new encrypted volumes with unrecorded passwords, moving all of your data onto same, then sending the pass
by miles 6y ago
It may be considered a best practice to avoid creating new encrypted volumes with unrecorded passwords, moving all of your data onto same, then sending the passwords off to some C&C server.
Loved @mklovenotcyber's optimization down thread[1] making the one-liner's password generation routine even less verbose, from the original:
head -n 1024 /dev/urandom | strings| grep -o "[[:alnum:]]" | head -n 64| tr -d "\n"
to the terse:
head -c 47 /dev/urandom | base64
[1] https://twitter.com/mklovenotcyber/status/1314661572183314433 https://twitter.com/mklovenotcyber/status/131466157218331443...