Advertisement
c0d3dsk1lls

brute pin

Jun 27th, 2022
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.63 KB | None | 0 0
  1. #CREATES EVERY SINGLE POSSIBLE NUMBER COMBINATION, CAN BE USED TO BFORCE PIN NUMBERS IF CONFIGURED CORRECTLY.
  2.  
  3. import itertools as it
  4.  
  5. class Brutes:
  6.     def __init__(self, charset, length):
  7.            self.charset = charset
  8.            self.length = length
  9.     def crackit(self, password):
  10.                         pass  
  11.     @property    
  12.     def guesses(self):
  13.         for guess in it.product(self.charset, repeat=self.length):
  14.             yield ''.join(guess)
  15.            
  16.                                                        
  17. def main():
  18.     brute = Brutes('0123456789', 8)
  19.     for guess in brute.guesses:
  20.         print(guess)
  21. if __name__ == '__main__':
  22.     main()
  23.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement