Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Installation

Requirements

RequirementMinimum version
Rust toolchain1.80
C compiler (gcc / clang)any recent
OpenSSL development headers1.1 / 3.x
pkg-configany

From source (without Nix)

git clone https://github.com/affolter-engineering/mqattack.git
cd mqattack
cargo build --release

The compiled binary is placed at target/release/mqattack.

Copy it to a location on your $PATH:

install -m 755 target/release/mqattack ~/.local/bin/

From source (with Nix)

A shell.nix is provided that pins all build dependencies:

nix-shell
cargo build --release

Nixpkgs

For Nix and NixOS users, mqattack is packaged in nixpkgs. The latest releases may only be present in the unstable channel.

nix-env -iA nixos.mqattack

Or declaratively in configuration.nix:

environment.systemPackages = [ pkgs.mqattack ];

Verify the installation

mqattack --version
mqattack --help