Posts

Showing posts with the label Hacking

How to make a simple password generator using python

import random lower = "abcdefghijklmnopqrstuvwxyz" upper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" number = "123456789" symbol = "(){}[]#!£$%,.<>:';#" all=lower+upper+number+symbol length = 9 password = "".join(random.sample(all,length)) print("your new password is:"+password)