Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

arenacli

The command-line client for CyberMouflon Arena — the author/organiser CLI for creating and syncing CTFs and challenges.

Binaries are published here for macOS, Linux, and Windows (amd64 + arm64). The platform source is private; only the compiled CLI is distributed.

Install

macOS / Linux (download a binary)

Pick your platform, then download and extract the latest release. Replace VERSION with the release you want (e.g. 0.1.0, without a leading v) and OS_ARCH with your platform:

Platform Asset
macOS (Apple) arenacli_VERSION_darwin_arm64.tar.gz
macOS (Intel) arenacli_VERSION_darwin_amd64.tar.gz
Linux (x86_64) arenacli_VERSION_linux_amd64.tar.gz
Linux (arm64) arenacli_VERSION_linux_arm64.tar.gz
Windows (x86_64) arenacli_VERSION_windows_amd64.zip
Windows (arm64) arenacli_VERSION_windows_arm64.zip
VERSION=0.1.0
OS=$(uname -s | tr '[:upper:]' '[:lower:]')          # darwin | linux
ARCH=$(uname -m); [ "$ARCH" = "x86_64" ] && ARCH=amd64; [ "$ARCH" = "aarch64" ] && ARCH=arm64

curl -fsSL -o arenacli.tar.gz \
  "https://github.com/cybermouflons/arenacli/releases/download/v${VERSION}/arenacli_${VERSION}_${OS}_${ARCH}.tar.gz"
tar -xzf arenacli.tar.gz arenacli
sudo mv arenacli /usr/local/bin/
arenacli version

Latest release (auto-resolve the tag)

VERSION=$(curl -fsSL https://api.github.com/repos/cybermouflons/arenacli/releases/latest \
  | grep -o '"tag_name": *"[^"]*"' | head -1 | sed 's/.*"v\{0,1\}\([^"]*\)"/\1/')
echo "latest: $VERSION"
# ...then run the download block above with that VERSION.

Verify the download

Each release ships a checksums.txt. Verify before running:

curl -fsSL -O "https://github.com/cybermouflons/arenacli/releases/download/v${VERSION}/checksums.txt"
sha256sum -c checksums.txt --ignore-missing

Windows

Download the ..._windows_amd64.zip (or arm64) asset from the Releases page, extract arenacli.exe, and place it somewhere on your PATH.

Configuration

The CLI reads credentials from the environment at runtime (nothing is baked into the binary):

Variable Purpose
ARENA_TOKEN API token for authenticated commands.
ARENA_PUSH_TOKEN Push token for ctf sync / artifact uploads.
ARENA_CTF_ID Default CTF id (overridable per-command).

Verify your install

arenacli version
arenacli --help

About

CLI tool for CYberMouflon Arena

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors