Coder Social home page Coder Social logo

brute's People

Contributors

f-prime avatar petermuller avatar rdegges avatar zhao-ji avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

brute's Issues

HELP

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

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

Minimum length strings

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!

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.