Merge branch '168-parsing' into 'master'

Wazuh API Password

Closes #168

See merge request cyber5k/mistborn!77
This commit is contained in:
Steven Foerster
2021-04-22 03:18:49 +00:00
+2 -2
View File
@@ -23,14 +23,14 @@ import secrets
import random
import string
random_pass = ([secrets.choice("@$!%*?&-_"),
random_pass = ([secrets.choice("@$!%*?-_"),
secrets.choice(string.digits),
secrets.choice(string.ascii_lowercase),
secrets.choice(string.ascii_uppercase),
]
+ [secrets.choice(string.ascii_lowercase
+ string.ascii_uppercase
+ "@$!%*?&-_"
+ "@$!%*?-_"
+ string.digits) for i in range(12)])
random.shuffle(random_pass)