githubEdit

🐧Installation for Unix

Installing NetExec with pipx 🎷

circle-info

We do recomand to install rust before to make sure everything will work properly

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Also, on some distributions, python headers may not be installed with python but are needed for arc4 dependencyarrow-up-right build. To install themarrow-up-right if you encounter arc4.c:2:10: fatal error: Python.h: No such file or directory error.

Using pipxarrow-up-rightto install NetExec is recommended. This allows you to use NetExec and the nxcdb system-wide.

sudo apt install pipx git
pipx ensurepath
pipx install git+https://github.com/Pennyw0rth/NetExec

Open a new shell and you are ready to go:

NetExec
nxcdb

Updating via pipx:

pipx upgrade netexec        # Will update if there is a new version
pipx reinstall netexec      # Force download the latest commits from github

Failed building wheel for aardwolf

If pip fails to build aardwolf you need to install rustarrow-up-right. Don't forget to reload your shell so rust is added to your PATH!

Installation for Kali 🐲

Installation for BlackArch πŸ—‘οΈ

Installation for ParrotSec 🦜

Availability on other Unix distributions 🐧

Packaging statusarrow-up-right

Installation for development using UV

Install uv (and rust)

Now that UV is set, up and we can download the NetExec repository and install its dependencies:

Installation for development using Poetry πŸ“―

circle-exclamation

You're going to need to install Poetryarrow-up-right which is what nxc uses to manage dependencies. To install poetry you should use pipxarrow-up-right, because our dynamic-versioning plugin will likely crash otherwise.

Now that poetry is set, up and we can download the NetExec repository and install its dependencies:

Binaries

We recommend installing via pipx/pip, but if you want to use a pre-compiled binary, go to the Releasesarrow-up-right and download the appropriate binary.

Last updated

Was this helpful?