Skip to content

Commit 451afc5

Browse files
committed
For good measures include digits in password generation
1 parent 1bd16d3 commit 451afc5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wsuks/wsuks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __init__(self, args):
3232
self.logger.error(f"Interface '{args.interface}' not found! Exiting...")
3333
exit(1)
3434
self.local_username = "user" + "".join(random.choice(digits) for i in range(5))
35-
self.local_password = "".join(random.sample(ascii_letters, 12)) + "1!"
35+
self.local_password = "".join(random.sample(ascii_letters + digits, 12)) + "1!"
3636

3737
# Set args
3838
self.targetIp = args.targetIp # Never None (required)

0 commit comments

Comments
 (0)