Coder Social home page Coder Social logo

brute's Introduction

brute

PyPI version Build Status Downloads

Simple brute forcing in Python.

Devil Sketch

Purpose

Brute forcing passwords, and other things often requires a bit of hacking to get working properly.

This library makes generating all possible permutations of strings really easy -- and is very customizable.

You can then brute force whatever you want, however you want >:)

Installation

Installing brute is easy with pip. Just go to the terminal and run:

$ pip install brute

You can also upgrade your existing installation by running:

$ pip install -U brute

Usage

Using brute is super easy -- seriously.

Let's say you want to iterate through every possible permutation of strings that contain:

  • All letters (upper and lowercase),
  • All numbers (01234...),
  • All symbols (!#$...),

All you have to do is:

from brute import brute

for s in brute():
    print s

Bam!

Let's say you want to also include space characters in your string (' ', '\t', etc...) -- you can do this too!

from brute import brute

for s in brute(spaces=True):
    print s

You can customize the max length of the strings generated as well. By default, brute will only run through 3 characters:

from brute import brute

for s in brute(length=10)
    print s

And, lastly, if for some reason you only want to iterate through letters, numbers, or whatever, you can do that as well!

from brute import brute

# Iterate over *only* numbers (0 - 9).
for s in brute(length=5, letters=False, numbers=True, symbols=False):
    print s

Changes

0.0.2: not yet released

- Fixed typo in docstring.  Thanks @zhao-ji!

0.0.1: 3-20-2014

- First release!

brute's People

Contributors

rdegges avatar zhao-ji avatar

Watchers

James Cloos avatar Julian Lugod avatar

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.