1 2 3 4 5 6 7 8 9 10 11 12
| import itertools
def result(password): result = open('password.txt', 'a+') result.write(password+'\n') result.close()
prefix = ['baidu', 'Baidu', 'BAIDU'] for x in [''.join(x) for x in list(itertools.product(prefix, ['@', '@@', ''], ['2014', '2015', '2016', '2017', '2018', '2019', '2020', '2021', '2022', '123', '1234', '123456'], ['!' , '#', '' , '.' , '..' , '...']))] : print(x) result(x)
|