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

Extract

Project Logo

Welcome to the documentation for extract, a command-line utility that parses text for network identifiers such as IP addresses, CIDR ranges and MAC addresses.

Features

  • IPv4 and IPv6 extraction
  • CIDR block recognition
  • MAC address matching
  • IP range parsing
  • Streaming operation for large files

Installation

See the project README for platform-specific binaries or build from source:

cargo build --release

Getting Started

Run extract with some input text to see immediate results:

echo 'Access from 192.168.1.1 to 10.0.0.0/8' | extract

Output:

192.168.1.1
10.0.0.0/8

The following chapters provide more examples and advanced usage tips.