Skip to content

netexec: fix build + bump pyinstaller #4514

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 1, 2025
Merged

netexec: fix build + bump pyinstaller #4514

merged 1 commit into from
Apr 1, 2025

Conversation

noraj
Copy link
Contributor

@noraj noraj commented Mar 31, 2025

I don't know if it's since this bump ea655ab (because v1.3.0.r459.gb520fdf9 seemed to work) or if it's this upstream commit Pennyw0rth/NetExec@47bb146 (brings dynamic versioning and empty placeholder version) but netexec BA package is no longer working.

I haven't been able to fix the poetry setup, nor migrate to pipx, nor to a classic venv + pip.

poetry seems no longer working since dynamic-versioning, pipx fails with mysterious error that are better understandable when trying to build with venv + pip (git version command not working, vcs environment not found, all that while copying the .git/, having git as dependency or even directly pip install git+https://… in .install, then mysterious /dev/null, and many other black magic issues). I also tried to copy other method in already existing PKGBUILD. Nothing works.

For example, pipx install mentioned on the official wiki, works well on my machine, but is not in a chroot or nspawn container.

All this python virtual environment ecosystem constantly evolving and upstream project continuously keeping to complexity it is not maintainable… The irony is that the use of a virtual environment use in the first place was to avoid the dependency hell of this project (precise version pinned, old version pinned, incompatible version with AL system, git versions, etc. that were also updated very often).

But in this very dark time, I found brightness. I tried harder and after hours of unsuccessfully virtual env packaging, I RTFMed harder the official wiki to discover it's now possible to build the whole python project as a static binary. So I did so and it works! Humanity pentest community is saved!

@noraj noraj requested a review from noptrix as a code owner March 31, 2025 23:19
@noraj
Copy link
Contributor Author

noraj commented Mar 31, 2025

cc @Fireplop

@noptrix
Copy link
Contributor

noptrix commented Apr 1, 2025

@noraj thank you very much

@noptrix noptrix merged commit 3a222a5 into master Apr 1, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants