# HG changeset patch # User HackEso # Date 1604500542 0 # Node ID f468498767e6e0fd9bfa3c404f34ce62efadf6bc # Parent 51ef64f7e399540554ff20af618d0e59eb9cbcf2 `` perl -pi -e s/random/secrets/ /hackenv/bin/password diff -r 51ef64f7e399 -r f468498767e6 bin/password --- a/bin/password Sun Nov 01 02:41:32 2020 +0000 +++ b/bin/password Wed Nov 04 14:35:42 2020 +0000 @@ -1,6 +1,6 @@ #!/usr/bin/python -import random +import secrets import string -print "".join(random.choice(string.ascii_lowercase) for _ in xrange(15)) +print "".join(secrets.choice(string.ascii_lowercase) for _ in xrange(15))