Code Monkey home page Code Monkey logo

password_generator's Introduction

Password Generator

This small script is a weak password generator tool which can be used in bruteforce.

Usage

generator = Generator()

print(generator.alphabet_sequence(mode='hybrid'))
# ['AA', 'AB', ... , 'Ly', 'Lz', ... , 'zz']
print(generator.alphabet_repeat_sequence(mode='lower'))
# ['aa', 'bb', ... , 'iiiii', 'jjjjj', ... , 'zzzzzz']
print(generator.alphabet_progressive_sequence(mode='lower'))
# ['abc', 'bcd', ... , 'pqr', 'qrs', ... , 'xyz']

print(generator.number_sequence())
# ['000000', '000001', ... , '123456', '123457', ... , '999999']
print(generator.number_repeat_sequence())
# ['11', '22', ... , '111', '222', ... , '000000']
print(generator.number_progressive_sequence(step=4))
# ['1234', '2345', ... , '5678', '6789', '7890']

print(generator.year_sequence(startyear=1998, endyear=2000))
# ['1998', '1999', '2000']
print(generator.year_month_sequence(startyear=1998, endyear=2000))
# ['199801', '199802', ... , '199911', '199912', ... , '200012']
print(generator.year_month_day_sequence(startyear=1998, endyear=2000))
# ['19980101', '19980102', ... , '19991101', 19991102', ... , '20001231']

print(generator.keyboard_progressive_sequence(step=3))
# ['qwe', 'wer', ... ,'asd', 'sdf', ... , 'bnm']

alphabet_sequence = generator.alphabet_sequence(mode='lower')
number_squence = generator.number_sequence(counter=4)
result = generator.mix_sequence(alphabet_sequence, number_squence)
generator.write_to_file(result)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.