← All tools

Tanq16/anbu

Popularity 75 Updated Testing & Security

A swiss army knife for CLI operations catered to devs and security professionals.

githubauto-collected

Installation

A directly usable install command is not verified yet. Check the project documentation or releases.

<div align="center" <img src=".github/assets/logo.svg" alt="ANBU Logo" width="250"/

<h1Anbu</h1

<a href="https://github.com/tanq16/anbu/actions/workflows/release.yaml"<img src="https://github.com/tanq16/anbu/actions/workflows/release.yaml/badge.svg" alt="Release Build"</a&nbsp;<a href="https://github.com/tanq16/anbu/releases/latest"<img src="https://img.shields.io/github/v/release/tanq16/anbu" alt="Latest Release"</a<br

<p<bAnbu</b is a CLI tool that helps perform everyday tasks in an expert way. Just like the Anbu Black Ops division in Naruto, this tool helps carry out all the shadow-operations in your daily workflow.</p<br

<a href="#capabilities"Capabilities</a &bull; <a href="#installation"Installation</a &bull; <a href="#usage"Usage</a &bull; <a href="#tips-and-notes"Tips & Notes</a<br

</div

Capabilities

A summary of everything that Anbu can perform:

| Operation | Details | | --- | --- | | Time | Current time via now, parse a timestamp, and epoch diffs, in one table of epoch, RFC 822 local, ISO 8601 local, ISO 8601 UTC, and human UTC | | Secrets | Encrypted store for named secrets, with list, get, add, delete, import, and export | | SSH Sessions | Named Ed25519 sessions under ~/.config/anbu/ssh/, with list, setup, exec, and delete | | WireGuard Proxy | Userspace WireGuard SOCKS5 proxy, with no root, TUN device, or host routing changes | | HTTP Download | Multi-connection HTTP download with automatic fallback to a single connection | | GitHub Release | Latest-release asset download, with platform auto-select or an explicit asset name | | HTTP Server | Serve the current directory, or an upload page for text and files | | IP Information | Local and public IP details, including geolocation | | Archive | Zip files with include/exclude regex, optional AES-GCM encryption, and a wrap vs bare extract | | Bulk Rename | Batch rename files or directories with regular expressions and capture groups | | Find Duplicates | Duplicate files by size and SHA256, with optional recursive search | | Passphrase | Diceware-style hyphenated phrase, with one capital letter and one digit by default | | UUID | UUID v7 by default, v4 with --v4, and a short 18-character form that keeps only random bits | | Random String | Cryptographic random string; alphanumeric by default, or hex, digits, letters, or all printable ASCII |

Installation

  • Download directly from RELEASES. Anbu is available for AMD64 and ARM64 for Linux and MacOS.
  • To clone and build locally for development (requires Go 1.27 or newer), use:
  git clone https://github.com/tanq16/anbu.git && \
  cd anbu && \
  go build .

Usage

Anbu supports a large number of operations across the board. All commands support the --debug flag to enable debug logging.

The specific details of each are:

  • HTTP Download (alias: dl)

Uses multiple connections when the server supports byte ranges and the file is large enough. Otherwise it falls back to a single connection. A partial .anbu-temp file is resumed automatically.

  anbu download https://example.com/file.tar.gz
  anbu dl https://example.com/file.tar.gz -o package.tar.gz
  anbu dl https://example.com/file.tar.gz -c 16
  anbu dl https://example.com/file.tar.gz -H "Authorization: Bearer token"
  anbu dl https://example.com/file.tar.gz --proxy http://127.0.0.1:8080