NetExec
NetExec copied to clipboard
ERROR: Failed building wheel for aardwolf
Cannot install on arch NetExec, tryed with pip, pipx and poetry
Python 3.12.3 6.9.4-zen1-1-zen Archlinux
@Ayanashi Can you provide some more information? Where does it fail? What's the output when it fails?
I had this issue as well earlier today on Arch after upgrading my system. Couldn't install NetExec via pipx because aardwolf wheel build failure. This was resolved by updating my Rust toolchain to a stable release channel which also sets default versions for cargo and rustc.
I ran the following command and then was able to proceed with a normal install without issues:
rustup default stable
pip3 install aardwolf --break-system-packages
pipx install git+https://github.com/Pennyw0rth/NetExec
@Ayanashi If this resolves your install problem please accordingly close this issue. Thank you
If that works we can add it to the install instructions ^^ @Ayanashi please confirm if that worked or not.
Ran into the same issue on Ubuntu 24.04 LTS. Fix @Mercury0 suggested worked on my end.
Suggest Work! thanks
@Marshall-Hallenbeck We have a few people here validating the fix worked. If you could add to the install instructions that would be great
on 3.13 nothing helping. only switching to 3.11 provide perfect results all breaks on aardwolf building with wheel
on 3.13 nothing helping. only switching to 3.11 provide perfect results all breaks on aardwolf building with wheel
This should be fixed with installing rust. Aardwolf needs it to build its wheel
This should be fixed with installing rust. Aardwolf needs it to build its wheel
ofk rust installed, cargo rustup wheels setuptools, everything. but i was have no luck trying to install Netexec via pipx on 3.13 . Always failed to build aardwolf . Just reinstalling 3.13 to 3.11 without any additional moves - fix the problem. (OS - windows 10 pro)
reproduce in 3rd machine with win 10. same issue with aardwolf (i think its about rust , aardwolf and python missconfigs)
python --version
Python 3.13.2
cargo --version
cargo 1.85.0 (d73d2caf9 2024-12-31)
rustup --version
rustup 1.27.1 (54dd3d00f 2024-04-24)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active rustc version is rustc 1.85.0 (4d91de4e4 2025-02-17)
Okay, good to know, then it is maybe a Windows only problem. I will dig into it the upcoming weeks
This should be fixed with installing rust. Aardwolf needs it to build its wheel
ofk rust installed, cargo rustup wheels setuptools, everything. but i was have no luck trying to install Netexec via pipx on 3.13 . Always failed to build aardwolf . Just reinstalling 3.13 to 3.11 without any additional moves - fix the problem. (OS - windows 10 pro)
reproduce in 3rd machine with win 10. same issue with aardwolf (i think its about rust , aardwolf and python missconfigs) python --version Python 3.13.2 cargo --version cargo 1.85.0 (d73d2caf9 2024-12-31) rustup --version rustup 1.27.1 (54dd3d00f 2024-04-24) info: This is the version for the rustup toolchain manager, not the rustc compiler. info: The currently active
rustcversion isrustc 1.85.0 (4d91de4e4 2025-02-17)
Having same issue. Maybe this issue should be reopened.
Yup, fails to build on my system as well.
Opened up an issue on aardwolf, as this looks like a rust problem: https://github.com/skelsec/aardwolf/issues/33
Looks like aardwolf build issues are fixed in the main branch, but not in the pypi version. As a workaround until a new release is published you can:
- Clone aardwolf into the same folder as NetExec
- Create&activate the env
- NOW first do
pip install ../aardwolf# so install aardwolf directly from the cloned repo - Continue with
pip install pyinstaller pillow .
I will leave the issue open so we don't forget to update aardwolf when a new release is out
Hi guys, I hope this helps you. I compiled with python3.12 virtualenv
git clone https://github.com/Pennyw0rth/NetExec.git
cd NetExec
virtualenv --python="/usr/bin/python3.12" env
source env/bin/activate
pip --version
pip install pyinstaller .
pyinstaller netexec.spec
Now, nxc ready
ls -la dist/nxc
Just had the same issue, here is what worked for me (I wanted to keep using pipx):
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh
Chose "1" for default installation, then:
echo "source $HOME/.cargo/env" >> ~/.zshrc
source ~/.zshrc
pipx install git+https://github.com/Pennyw0rth/NetExec