Fix wo secure --sshport
This commit is contained in:
@@ -5,7 +5,13 @@ import string
|
||||
class RANDOM:
|
||||
"""Random strings generator"""
|
||||
|
||||
def gen(self):
|
||||
def long(self):
|
||||
long_random = ''.join([random.choice
|
||||
(string.ascii_letters + string.digits)
|
||||
for n in range(24)])
|
||||
return long_random
|
||||
|
||||
def short(self):
|
||||
short_random = ''.join([random.choice
|
||||
(string.ascii_letters + string.digits)
|
||||
for n in range(24)])
|
||||
|
||||
Reference in New Issue
Block a user