NETCAP
OverviewGitHubHomepageGoDoc
v0.5
v0.5
  • Overview
  • Audit Records
  • Specification
  • Installation
    • Kali Linux
  • Quickstart
  • Configuration
  • Bash Completion
  • Packet Collection
  • Audit Record Labeling
  • HTTP Proxy
  • USB Capture
  • Payload Capture
  • Distributed Collection
  • Workers
  • Filtering and Export
  • Data Compression
  • Internals
  • Metrics
  • Resolvers
  • TLS Fingerprinting
  • Reassembly
  • Deep Packet Inspection
  • Live Capture
  • Maltego Integration
  • Logging
  • Packet Contexts
  • Industrial Control Systems
  • File Extraction
  • Email Extraction
  • Device Profiles
  • Python Integration
  • Changelog
  • Troubleshooting
  • Unit Tests
  • Extension
  • Downloads
  • Docker Containers
  • FAQ
  • Contributing
  • License
Powered by GitBook
On this page
  • Binary Distributions
  • Go Get
  • Manual Build
  • Reproducible Builds via Go Modules
  • Development Build
  • Cross Compilation
  • Homebrew
  • Buildsystem

Installation

Setup instructions

PreviousSpecificationNextKali Linux

Last updated 5 years ago

Binary Distributions

Compiled versions for macOS, Linux and Windows are available on GitHub:

Go Get

Installation via go get:

$ go get -u github.com/dreadl0ck/netcap/...

Manual Build

$ go build -ldflags "-s -w" -o /usr/local/bin/net -i github.com/dreadl0ck/netcap/cmd

Reproducible Builds via Go Modules

In order to provide stable and reproducible builds, Go modules are used to pin the versions of source code dependencies to specific versions.

You can read about Go modules here:

Development Build

To install the command-line tool:

$ go build -o /usr/local/bin/net -i github.com/dreadl0ck/netcap/cmd

Cross Compilation

To cross compile for other architectures, set the GOARCH and GOOS environment variables. For example to cross compile a binary for linux amd64:

$ GOARCH=amd64 GOOS=linux go build -o bin/net -i github.com/dreadl0ck/netcap/cmd

Homebrew

On macOS, you can install the netcap command-line tool with Homebrew:

$ brew tap dreadl0ck/formulas
$ brew install netcap

Buildsystem

To install the Netcap and Netlabel command-line tool and the library with zeus, run:

$ zeus install

Go has included support for versioned modules as proposed since 1.11. The initial prototype vgo was in February 2018. In July 2018, versioned modules in the main Go repository. They are used by default by the go toolchain starting from version 1.13 .

Netcap uses the build system, it can be found on GitHub along with installation instructions:

here
announced
landed
zeus
Releases · dreadl0ck/netcapGitHub
NETCAP GitHub Releases Page
Modules · golang/go WikiGitHub
Using Go Modules - The Go Programming Language
ZEUS Build System GitHub
GitHub - dreadl0ck/zeus: An Electrifying Build SystemGitHub
Logo
Logo
Logo
Logo