npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

brutex

v1.0.0

Published

[![PyPI Version](https://img.shields.io/pypi/v/brute.svg)](https://pypi.python.org/pypi/brute) [![PyPI Downloads](https://img.shields.io/pypi/dm/brute.svg)](https://pypi.python.org/pypi/brute) [![Travis Build Status](https://img.shields.io/travis/rdegges/

Downloads

2

Readme

brute

PyPI Version PyPI Downloads Travis Build Status

Simple brute forcing in Python.

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.3: 2-12-2016

- Supporting start length when ramping up. Thanks @petermuller!

0.0.2: 1-18-2015

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

0.0.1: 3-20-2014

- First release!