brute icon indicating copy to clipboard operation
brute copied to clipboard

Simple brute forcing in Python.

Results 10 brute issues
Sort by recently updated
recently updated
newest added

### Fix - Fix SyntaxError: Generator expression must be parenthesized (https://github.com/rdegges/brute/issues/14, https://github.com/rdegges/brute/issues/12, https://github.com/rdegges/brute/issues/7) Added parenthesis around generator

I'm trying to run the following: ` from hashlib import sha256 from brute import brute def brute_force(): expected = str.lower("49192A4F3F3") for pwd in brute(length=7, letters=False, numbers=True, symbols=False): hashed = sha256(pwd.encode('utf-8')).hexdigest()...

specifying letters will save time and processing power

File "C:\Python37-32\lib\site-packages\brute.py", line 68 product( ^ SyntaxError: Generator expression must be parenthesized

File "c:\Users\janak\OneDrive\Desktop\brute-master\brute.py", line 74 product( ^ SyntaxError: Generator expression must be parenthesized

this library needs attributes to specify whether to use uppercase only or lowercase only or both

If I want to use only numbers from `0 -> 6`, it would be cool if I could do that with this tool.