Mercurial > repo
annotate bin/password @ 12349:f468498767e6 draft
<wib_jonas> `` perl -pi -e s/random/secrets/ /hackenv/bin/password
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Wed, 04 Nov 2020 14:35:42 +0000 |
parents | 6dff80b6fb44 |
children | 2678f7ed17a8 |
rev | line source |
---|---|
8878
6dff80b6fb44
<shachaf> ` echo $\'#!/usr/bin/python\\n\\nimport random\\nimport string\\n\\nprint "".join(random.choice(string.ascii_lowercase) for _ in xrange(15))\' > bin/password; chmod +x bin/password
HackBot
parents:
diff
changeset
|
1 #!/usr/bin/python |
6dff80b6fb44
<shachaf> ` echo $\'#!/usr/bin/python\\n\\nimport random\\nimport string\\n\\nprint "".join(random.choice(string.ascii_lowercase) for _ in xrange(15))\' > bin/password; chmod +x bin/password
HackBot
parents:
diff
changeset
|
2 |
12349
f468498767e6
<wib_jonas> `` perl -pi -e s/random/secrets/ /hackenv/bin/password
HackEso <hackeso@esolangs.org>
parents:
8878
diff
changeset
|
3 import secrets |
8878
6dff80b6fb44
<shachaf> ` echo $\'#!/usr/bin/python\\n\\nimport random\\nimport string\\n\\nprint "".join(random.choice(string.ascii_lowercase) for _ in xrange(15))\' > bin/password; chmod +x bin/password
HackBot
parents:
diff
changeset
|
4 import string |
6dff80b6fb44
<shachaf> ` echo $\'#!/usr/bin/python\\n\\nimport random\\nimport string\\n\\nprint "".join(random.choice(string.ascii_lowercase) for _ in xrange(15))\' > bin/password; chmod +x bin/password
HackBot
parents:
diff
changeset
|
5 |
12349
f468498767e6
<wib_jonas> `` perl -pi -e s/random/secrets/ /hackenv/bin/password
HackEso <hackeso@esolangs.org>
parents:
8878
diff
changeset
|
6 print "".join(secrets.choice(string.ascii_lowercase) for _ in xrange(15)) |