Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #CREATES EVERY SINGLE POSSIBLE NUMBER COMBINATION, CAN BE USED TO BFORCE PIN NUMBERS IF CONFIGURED CORRECTLY.
- import itertools as it
- class Brutes:
- def __init__(self, charset, length):
- self.charset = charset
- self.length = length
- def crackit(self, password):
- pass
- @property
- def guesses(self):
- for guess in it.product(self.charset, repeat=self.length):
- yield ''.join(guess)
- def main():
- brute = Brutes('0123456789', 8)
- for guess in brute.guesses:
- print(guess)
- if __name__ == '__main__':
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement