GithubHelp home page GithubHelp logo

ripgen's Introduction

ripgen

A rust-based version of the popular dnsgen python utility.

ripgen is split into two main parts:

  • ripgen: A CLI utility that calls into ripgen_lib and uses dnsgen's transforms.
  • ripgen_lib: A library that allows you to create high performance permutations of domain names.

How to Install!

Installation of ripgen is very simple - follow the steps below.

Step 1 - rustup.rs

Visit https://rustup.rs/ and follow the instructions to get started with rust and cargo.

Step 2 - cargo install

Run cargo install ripgen

How to Use - ripgen

ripgen optionally takes a domain file, a wordlist file, and a minimum word length argument.

If no domain file is listed, domains are expected through stdin making it easy to pipe into from other tools.

e.g.

$ echo "www1.google.com" | ripgen

One deviation from dnsgen's behavior is that if no wordlist is specified then no wordlist items are included automatically. To compare ripgen and dnsgen appropriately you should make sure to specify a wordlist.

How to use - ripgen_lib

ripgen_lib exposes a RipGenManager struct that takes in three components:

  • an iterator for domain names
  • an iterator for wordlist entries
  • a function that converts &&str into bool for the purposes of filtering wordlist entries

After creating a RipGenManager, transforms can be added on with transform and chain_transform. These transforms require a function definition (closure or otherwise) be passed in that can take the &DomainComponent and WordListIterator types and return an Iterator<Item = String>.

Look at the non-default dnsgen transform implementations for examples on how these are implemented typically.

ripgen's People

Contributors

d0nutptr 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.