Installation methods

Installation methods

Note: the CLI requires to have hping installed. See the package for your distro on repology. ChronoLeak will look for the hping3 command to be accessible in your PATH.

Production

rubygems.org (universal)

gem install chronoleak

Gem: chronoleak

BlackArch

From the repository:

pacman -S chronoleak

PKGBUILD: chronoleak

ArchLinux

Manually:

git clone https://aur.archlinux.org/chronoleak.git
cd chronoleak
makepkg -sic

With an AUR helper (Pacman wrappers), eg. yay:

yay -S chronoleak

AUR: chronoleak

Development

It’s better to use ASDM-VM to have latests version of ruby and to avoid trashing your system ruby.

rubygems.org

gem install --development chronoleak

git

Just replace x.x.x with the gem version you see after gem build.

git clone https://github.com/noraj/chronoleak.git chronoleak
cd chronoleak
gem install bundler
bundler install
gem build chronoleak.gemspec
gem install chronoleak-x.x.x.gem

Note: if an automatic install is needed you can get the version with $ gem build chronoleak.gemspec | grep Version | cut -d' ' -f4.

No install

Run the library in irb without installing the gem.

From local file:

irb -Ilib -rchronoleak

Same for the CLI tool:

ruby -Ilib -rchronoleak bin/chronoleak