Home

Awesome

rip

Software License Build Status Coverage Report

Sends a text file line by line to a remote host/port.

Why?

Installing

Compile

This project has only been tested with go1.11+. To compile just run go get -u github.com/gesquive/rip and the executable should be built for you automatically in your $GOPATH. This project uses go mods, so you might need to set GO111MODULE=on in order for go get to complete properly.

Optionally you can run make install to build and copy the executable to /usr/local/bin/ with correct permissions.

Download

Alternately, you can download the latest release for your platform from github.

Once you have an executable, make sure to copy it somewhere on your path like /usr/local/bin or C:/Program Files/. If on a *nix/mac system, make sure to run chmod +x /path/to/rip.

Homebrew

This app is also avalable from this homebrew tap. Just install the tap and then the app will be available.

$ brew tap gesquive/tap
$ brew install rip

Usage

Sends a text file line by line to a remote host/port.

Usage:
  rip [flags] <host>[:<port>] <tcp|udp> <file_path> [<file_path>...]

Flags:
  -r, --rate-limit int   Message rate allowed per second, use -1 for no limit (default: -1)
  -V, --version   Show the version and exit

Optionally, a hidden debug flag is available in case you need additional output.

Hidden Flags:
  -D, --debug                  Include debug statements in log output

You can also pipe in input in addition to specified files on the command line:

$ rip server:3333 tcp massive.log
$ cat massive.log | rip server:3333 tcp
$ app-with-output | rip server:3333 tcp

Documentation

This documentation can be found at github.com/gesquive/rip

License

This package is made available under an MIT-style license. See LICENSE.

Contributing

PRs are always welcome!