mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 21:35:55 +01:00
install/randomPassword.py
This commit is contained in:
@@ -13,7 +13,7 @@ def generate_pass(length=14):
|
||||
password = []
|
||||
|
||||
while len(password) < length:
|
||||
key = choice(list(char_set.keys()))
|
||||
key = choice(char_set.keys())
|
||||
a_char = urandom(1)
|
||||
if a_char in char_set[key]:
|
||||
if check_prev_char(password, char_set[key]):
|
||||
|
||||
Reference in New Issue
Block a user