Giter Club home page Giter Club logo

dsieve's Introduction

dsieve

Take a single domain or read input file and extract unique parent domains. Filter results by domain level.

Supports any format of url, with or without protocol, port, path, parameters.

Quickstart

> go run dsieve.go -i foo.bar.baz.tld 
bar.baz.tld
baz.tld
tld

> go run dsieve.go -i http://foo.bar.baz.tld/a/b?q=1 -f 2
baz.tld

> go run dsieve.go -i http://foo.bar.baz.tld:443 -f 2:
bar.baz.tld:443
baz.tld:443

Usage

Usage of dsieve.go
  -f string
        Filter domain level. Use python slice notation to select range. 
        Example input: foo.bar.baz.tld 
          -f 3      bar.baz.tld 
          -f 3:     bar.baz.tld, foo.bar.baz.tld
          -f 2:4    baz.tld, bar.baz.tld
          -f :3     tld, baz.tld
  -i string
        Input url or domain
  -if string
        Input file path, one url/domain per line.
  -o string
        Output file path, optional

dsieve's People

Contributors

polovinad avatar c3l3si4n avatar naki40 avatar pankaj437 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.