rdegges / brute Goto Github PK
View Code? Open in Web Editor NEWSimple brute forcing in Python.
License: The Unlicense
Simple brute forcing in Python.
License: The Unlicense
this library needs attributes to specify whether to use uppercase only or lowercase only or both
File "c:\Users\janak\OneDrive\Desktop\brute-master\brute.py", line 74
product(
^
SyntaxError: Generator expression must be parenthesized
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()
if hashed.startswith(expected):
print(pwd)
`
However, I get the error:
Traceback (most recent call last):
File "/home/kali/Desktop/script.py", line 2, in
from brute import brute
File "/home/kali/.local/lib/python3.10/site-packages/brute.py", line 68
product(
^^^^^^^^
SyntaxError: Generator expression must be parenthesized
File "C:\Python37-32\lib\site-packages\brute.py", line 68
product(
^
SyntaxError: Generator expression must be parenthesized
Length=n will still iterate through all of the 1,2,3,..,n-1 length strings as well.
If I only want n length strings, I should be able to call brute(minimum=n) or something similar!
If I want to use only numbers from 0 -> 6
, it would be cool if I could do that with this tool.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.