Skip to content
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

pipx installation fails because of dependency conflicts #252

Closed
ItsCrem opened this issue Apr 9, 2024 · 25 comments
Closed

pipx installation fails because of dependency conflicts #252

ItsCrem opened this issue Apr 9, 2024 · 25 comments
Labels
dependencies Pull requests that update a dependency file

Comments

@ItsCrem
Copy link

ItsCrem commented Apr 9, 2024

Describe the bug
The default recommended installation method via pipx results in an error because of dependency conflicts.

To Reproduce
Steps to reproduce the behavior i.e.:
Command: pipx install git+https://github.com/Pennyw0rth/NetExec
Resulted in the following pip error log:

<TRUNCATED>
The conflict is caused by:
    netexec 1.1.0+af9656e depends on impacket 0.12.0.dev1+20240409.11245.25cbbfa (from git+https://github.com/fortra/impacket.git)
    bloodhound 1.6.1 depends on impacket>=0.9.17
    dploot 2.2.1 depends on impacket>=0.10.0
    lsassy 3.1.9 depends on impacket<0.11.0 and >=0.10.0
    netexec 1.1.0+af9656e depends on impacket 0.12.0.dev1+20240409.11245.25cbbfa (from git+https://github.com/fortra/impacket.git)
    bloodhound 1.6.1 depends on impacket>=0.9.17
    dploot 2.2.1 depends on impacket>=0.10.0
    lsassy 3.1.8 depends on impacket<0.11.0 and >=0.10.0
...

Expected behavior
To be able to install NetExec

Screenshots
If applicable, add screenshots to help explain your problem.

NetExec info

  • OS: Linux 6.6.20+rpt-rpi-v8 Update README #1 SMP PREEMPT Debian 1:6.6.20-1+rpt1 (2024-03-07) aarch64 GNU/Linux
  • Version of nxc: Latest and also tried v1.0.0
  • Installed from: pipx and tried doing pip as well

Additional context

I believe it is the same issue as this: #165

I have tried the following installation commands:

pipx install git+https://github.com/Pennyw0rth/NetExec/@5f29e661b7e2f367faf2af7688f777d8b2d1bf6d
pipx install git+https://github.com/Pennyw0rth/NetExec/ --force
@ItsCrem
Copy link
Author

ItsCrem commented Apr 9, 2024

I did manage to successfully install it through poetry but not pipx :'(

@NeffIsBack
Copy link
Contributor

Weird, it works on my machine:
image

Which python version are you running?
My pipx version is 1.4.3 and python 3.11.8

@NeffIsBack
Copy link
Contributor

NeffIsBack commented Apr 9, 2024

Please try:

sudo apt-get install build-essential libssl-dev libffi-dev python-dev-is-python3

Then install rust: https://www.rust-lang.org/tools/install

And then try the pipx installation again.

@NeffIsBack NeffIsBack added the dependencies Pull requests that update a dependency file label Apr 9, 2024
@ItsCrem
Copy link
Author

ItsCrem commented Apr 16, 2024

OK. My newer Raspberry Pi is in use so I used my older Raspberry Pi 3B+ it is slightly different.

Current setup
Python 3.9.2
Pipx 1.5.0

I tried ran your suggestion @NeffIsBack but still the same issue.

Terminal Output:

$ pipx install git+https://github.com/Pennyw0rth/NetExec
Fatal error from pip prevented installation. Full pip output in file:
    /home/crem/.local/pipx/logs/cmd_2024-04-16_17.47.01_pip_errors.log

pip seemed to fail to build package:
    bloodhound<2.0.0,>=1.6.1

Some possibly relevant errors from pip install:
    ERROR: Cannot install netexec and netexec==1.1.0+7d44b11 because these package versions have conflicting dependencies.
    ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Error installing netexec from spec 'git+https://github.com/Pennyw0rth/NetExec'.

Full pip output from log file:

PIP STDOUT
----------
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting git+https://github.com/Pennyw0rth/NetExec
  Cloning https://github.com/Pennyw0rth/NetExec to /tmp/pip-req-build-ct7wb_l8
  Resolved https://github.com/Pennyw0rth/NetExec to commit 7d44b11c2bf9dcde7eb83b2e2e12d053f427549d
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting impacket@ git+https://github.com/fortra/impacket.git (from netexec==1.1.0+7d44b11)
  Cloning https://github.com/fortra/impacket.git to /tmp/pip-install-3k1ez_18/impacket_c4df9faee22e4eaaac2d7f5955a15a3f
  Resolved https://github.com/fortra/impacket.git to commit 1bc283fb8520e9f4243fa6db9515f8ad27656ff4
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting aardwolf<0.3.0,>=0.2.7 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/aardwolf/aardwolf-0.2.8-cp39-cp39-linux_armv7l.whl (2.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 786.6 kB/s eta 0:00:00
Collecting aioconsole<0.7.0,>=0.6.2 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/aioconsole/aioconsole-0.6.2-py3-none-any.whl (30 kB)
Collecting aiosqlite<0.20.0,>=0.19.0 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/aiosqlite/aiosqlite-0.19.0-py3-none-any.whl (15 kB)
Collecting argcomplete<4.0.0,>=3.1.4 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/argcomplete/argcomplete-3.3.0-py3-none-any.whl (42 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.6/42.6 kB 631.9 kB/s eta 0:00:00
Collecting asyauth<0.1.0,>=0.0.14 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/asyauth/asyauth-0.0.20-py3-none-any.whl (105 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 105.3/105.3 kB 156.1 kB/s eta 0:00:00
Collecting beautifulsoup4<5,>=4.11 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/beautifulsoup4/beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.9/147.9 kB 221.7 kB/s eta 0:00:00
Collecting bloodhound<2.0.0,>=1.6.1 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/bloodhound/bloodhound-1.7.2-py3-none-any.whl (81 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.5/81.5 kB 117.9 kB/s eta 0:00:00
Collecting dploot<3.0.0,>=2.2.1 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/dploot/dploot-2.7.1-py3-none-any.whl (70 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.5/70.5 kB 184.7 kB/s eta 0:00:00
Collecting dsinternals<2.0.0,>=1.2.4 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/dsinternals/dsinternals-1.2.4-py3-none-any.whl (202 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 202.7/202.7 kB 490.7 kB/s eta 0:00:00
Collecting lsassy>=3.1.8 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/lsassy/lsassy-3.1.9-py3-none-any.whl (1.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 947.3 kB/s eta 0:00:00
Collecting masky<0.3.0,>=0.2.0 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/masky/masky-0.2.0-py3-none-any.whl (285 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 285.1/285.1 kB 300.6 kB/s eta 0:00:00
Collecting minikerberos<0.5.0,>=0.4.1 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/minikerberos/minikerberos-0.4.4-py3-none-any.whl (147 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.1/147.1 kB 395.8 kB/s eta 0:00:00
Collecting msgpack<2.0.0,>=1.0.0 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/msgpack/msgpack-1.0.8-cp39-cp39-linux_armv7l.whl (344 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 344.8/344.8 kB 354.3 kB/s eta 0:00:00
Collecting neo4j<6.0.0,>=5.0.0 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/neo4j/neo4j-5.19.0-py3-none-any.whl (280 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 280.7/280.7 kB 283.9 kB/s eta 0:00:00
Collecting paramiko<4.0.0,>=3.3.1 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/paramiko/paramiko-3.4.0-py3-none-any.whl (225 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 225.9/225.9 kB 232.8 kB/s eta 0:00:00
Collecting poetry-dynamic-versioning<2.0.0,>=1.2.0 (from netexec==1.1.0+7d44b11)
  Using cached https://www.piwheels.org/simple/poetry-dynamic-versioning/poetry_dynamic_versioning-1.2.0-py3-none-any.whl (18 kB)
Collecting pyasn1-modules<0.4.0,>=0.3.0 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/pyasn1-modules/pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.3/181.3 kB 264.6 kB/s eta 0:00:00
Collecting pylnk3<0.5.0,>=0.4.2 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/pylnk3/pylnk3-0.4.2-py3-none-any.whl (21 kB)
Collecting pypsrp<0.9.0,>=0.8.1 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/pypsrp/pypsrp-0.8.1-py3-none-any.whl (88 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.4/88.4 kB 1.3 MB/s eta 0:00:00
Collecting pypykatz<0.7.0,>=0.6.8 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/pypykatz/pypykatz-0.6.9-py3-none-any.whl (390 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 390.3/390.3 kB 410.9 kB/s eta 0:00:00
Collecting python-dateutil>=2.8.2 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/python-dateutil/python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.9/229.9 kB 574.3 kB/s eta 0:00:00
Collecting python-libnmap<0.8.0,>=0.7.3 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/python-libnmap/python_libnmap-0.7.3-py3-none-any.whl (37 kB)
Collecting pywerview<0.4.0,>=0.3.3 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/pywerview/pywerview-0.3.3-py3-none-any.whl (56 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.4/56.4 kB 146.8 kB/s eta 0:00:00
Collecting requests>=2.27.1 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/requests/requests-2.31.0-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 160.5 kB/s eta 0:00:00
Collecting rich<14.0.0,>=13.3.5 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/rich/rich-13.7.1-py3-none-any.whl (240 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 240.7/240.7 kB 252.5 kB/s eta 0:00:00
Collecting sqlalchemy<3.0.0,>=2.0.4 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/sqlalchemy/SQLAlchemy-2.0.29-cp39-cp39-linux_armv7l.whl (2.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.9/2.9 MB 1.3 MB/s eta 0:00:00
Collecting termcolor==2.0.1 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/termcolor/termcolor-2.0.1-py3-none-any.whl (5.4 kB)
Collecting terminaltables<4.0.0,>=3.1.0 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/terminaltables/terminaltables-3.1.10-py2.py3-none-any.whl (15 kB)
Collecting xmltodict<0.14.0,>=0.13.0 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/xmltodict/xmltodict-0.13.0-py2.py3-none-any.whl (12 kB)
Collecting unicrypto>=0.0.10 (from aardwolf<0.3.0,>=0.2.7->netexec==1.1.0+7d44b11)
  Downloading unicrypto-0.0.10-py3-none-any.whl.metadata (386 bytes)
Collecting asysocks>=0.2.9 (from aardwolf<0.3.0,>=0.2.7->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/asysocks/asysocks-0.2.12-py3-none-any.whl (107 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 107.7/107.7 kB 288.3 kB/s eta 0:00:00
Collecting tqdm (from aardwolf<0.3.0,>=0.2.7->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/tqdm/tqdm-4.66.2-py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 171.8 kB/s eta 0:00:00
Collecting colorama (from aardwolf<0.3.0,>=0.2.7->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/colorama/colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting asn1crypto (from aardwolf<0.3.0,>=0.2.7->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/asn1crypto/asn1crypto-1.5.1-py3-none-any.whl (110 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 110.1/110.1 kB 150.2 kB/s eta 0:00:00
Collecting asn1tools (from aardwolf<0.3.0,>=0.2.7->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/asn1tools/asn1tools-0.166.0-py3-none-any.whl (119 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 119.5/119.5 kB 177.0 kB/s eta 0:00:00
Collecting pyperclip>=1.8.2 (from aardwolf<0.3.0,>=0.2.7->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/pyperclip/pyperclip-1.8.2-py3-none-any.whl (10 kB)
Collecting arc4>=0.3.0 (from aardwolf<0.3.0,>=0.2.7->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/arc4/arc4-0.4.0-cp39-cp39-linux_armv7l.whl (16 kB)
Collecting Pillow>=9.0.0 (from aardwolf<0.3.0,>=0.2.7->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/pillow/pillow-10.3.0-cp39-cp39-linux_armv7l.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 717.4 kB/s eta 0:00:00
Collecting soupsieve>1.2 (from beautifulsoup4<5,>=4.11->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/soupsieve/soupsieve-2.5-py3-none-any.whl (36 kB)
Collecting dnspython (from bloodhound<2.0.0,>=1.6.1->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/dnspython/dnspython-2.6.1-py3-none-any.whl (307 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 307.7/307.7 kB 327.1 kB/s eta 0:00:00
Collecting ldap3!=2.5.0,!=2.5.2,!=2.6,>=2.5 (from bloodhound<2.0.0,>=1.6.1->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/ldap3/ldap3-2.9.1-py3-none-any.whl (419 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 419.1/419.1 kB 600.9 kB/s eta 0:00:00
Collecting pyasn1>=0.4 (from bloodhound<2.0.0,>=1.6.1->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/pyasn1/pyasn1-0.6.0-py2.py3-none-any.whl (85 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.3/85.3 kB 1.1 MB/s eta 0:00:00
Collecting future (from bloodhound<2.0.0,>=1.6.1->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/future/future-1.0.0-py3-none-any.whl (491 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.3/491.3 kB 496.2 kB/s eta 0:00:00
Collecting pycryptodome (from bloodhound<2.0.0,>=1.6.1->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/pycryptodome/pycryptodome-3.20.0-cp35-abi3-linux_armv7l.whl (2.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 999.3 kB/s eta 0:00:00
Collecting cryptography<41.0.0,>=40.0.1 (from dploot<3.0.0,>=2.2.1->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/cryptography/cryptography-40.0.2-cp39-cp39-linux_armv7l.whl (1.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 873.5 kB/s eta 0:00:00
Collecting lxml==4.9.3 (from dploot<3.0.0,>=2.2.1->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/lxml/lxml-4.9.3-cp39-cp39-linux_armv7l.whl (6.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.8/6.8 MB 2.1 MB/s eta 0:00:00
Collecting pyasn1>=0.4 (from bloodhound<2.0.0,>=1.6.1->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/pyasn1/pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 187.7 kB/s eta 0:00:00
Collecting pycryptodomex (from impacket@ git+https://github.com/fortra/impacket.git->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/pycryptodomex/pycryptodomex-3.20.0-cp35-abi3-linux_armv7l.whl (1.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 977.3 kB/s eta 0:00:00
Collecting pyOpenSSL>=21.0.0 (from impacket@ git+https://github.com/fortra/impacket.git->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/pyopenssl/pyOpenSSL-24.1.0-py3-none-any.whl (56 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.9/56.9 kB 842.8 kB/s eta 0:00:00
Collecting six (from impacket@ git+https://github.com/fortra/impacket.git->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/six/six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting ldapdomaindump>=0.9.0 (from impacket@ git+https://github.com/fortra/impacket.git->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/ldapdomaindump/ldapdomaindump-0.9.4-py3-none-any.whl (18 kB)
Collecting flask>=1.0 (from impacket@ git+https://github.com/fortra/impacket.git->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/flask/flask-3.0.3-py3-none-any.whl (101 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.7/101.7 kB 270.7 kB/s eta 0:00:00
Requirement already satisfied: setuptools in /home/crem/.local/pipx/shared/lib/python3.9/site-packages (from impacket@ git+https://github.com/fortra/impacket.git->netexec==1.1.0+7d44b11) (44.1.1)
Collecting charset-normalizer (from impacket@ git+https://github.com/fortra/impacket.git->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/charset-normalizer/charset_normalizer-3.3.2-py3-none-any.whl (48 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.5/48.5 kB 118.8 kB/s eta 0:00:00
INFO: pip is looking at multiple versions of lsassy to determine which version is compatible with other requirements. This could take a while.
Collecting lsassy>=3.1.8 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/lsassy/lsassy-3.1.8-py3-none-any.whl (1.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 1.2 MB/s eta 0:00:00
Collecting dploot<3.0.0,>=2.2.1 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/dploot/dploot-2.7.0-py3-none-any.whl (70 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.5/70.5 kB 1.1 MB/s eta 0:00:00
  Downloading https://www.piwheels.org/simple/dploot/dploot-2.6.2-py3-none-any.whl (65 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.5/65.5 kB 968.7 kB/s eta 0:00:00
  Downloading https://www.piwheels.org/simple/dploot/dploot-2.6.1-py3-none-any.whl (65 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.8/65.8 kB 956.2 kB/s eta 0:00:00
INFO: pip is still looking at multiple versions of lsassy to determine which version is compatible with other requirements. This could take a while.
  Downloading https://www.piwheels.org/simple/dploot/dploot-2.6.0-py3-none-any.whl (65 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.6/65.6 kB 985.7 kB/s eta 0:00:00
  Downloading https://www.piwheels.org/simple/dploot/dploot-2.2.5-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.8/61.8 kB 922.9 kB/s eta 0:00:00
  Downloading https://www.piwheels.org/simple/dploot/dploot-2.2.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.8/61.8 kB 899.9 kB/s eta 0:00:00
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.
  Downloading https://www.piwheels.org/simple/dploot/dploot-2.2.3-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.8/61.8 kB 846.7 kB/s eta 0:00:00
Collecting lxml==4.9.2 (from dploot<3.0.0,>=2.2.1->netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/lxml/lxml-4.9.2-cp39-cp39-linux_armv7l.whl (6.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.8/6.8 MB 2.3 MB/s eta 0:00:00
Collecting dploot<3.0.0,>=2.2.1 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/dploot/dploot-2.2.2-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.7/61.7 kB 146.7 kB/s eta 0:00:00
  Downloading https://www.piwheels.org/simple/dploot/dploot-2.2.1-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.6/61.6 kB 98.6 kB/s eta 0:00:00
Collecting bloodhound<2.0.0,>=1.6.1 (from netexec==1.1.0+7d44b11)
  Downloading https://www.piwheels.org/simple/bloodhound/bloodhound-1.7.1-py3-none-any.whl (81 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.5/81.5 kB 212.9 kB/s eta 0:00:00
  Downloading https://www.piwheels.org/simple/bloodhound/bloodhound-1.7.0-py3-none-any.whl (81 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.4/81.4 kB 198.0 kB/s eta 0:00:00
  Downloading https://www.piwheels.org/simple/bloodhound/bloodhound-1.6.1-py3-none-any.whl (80 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.2/80.2 kB 196.1 kB/s eta 0:00:00

The conflict is caused by:
    netexec 1.1.0+7d44b11 depends on impacket 0.12.0.dev1+20240411.142706.1bc283f (from git+https://github.com/fortra/impacket.git)
    bloodhound 1.6.1 depends on impacket>=0.9.17
    dploot 2.2.1 depends on impacket>=0.10.0
    lsassy 3.1.9 depends on impacket<0.11.0 and >=0.10.0
    netexec 1.1.0+7d44b11 depends on impacket 0.12.0.dev1+20240411.142706.1bc283f (from git+https://github.com/fortra/impacket.git)
    bloodhound 1.6.1 depends on impacket>=0.9.17
    dploot 2.2.1 depends on impacket>=0.10.0
    lsassy 3.1.8 depends on impacket<0.11.0 and >=0.10.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict


PIP STDERR
----------
  Running command git clone --filter=blob:none --quiet https://github.com/Pennyw0rth/NetExec /tmp/pip-req-build-ct7wb_l8
  Running command git clone --filter=blob:none --quiet https://github.com/fortra/impacket.git /tmp/pip-install-3k1ez_18/impacket_c4df9faee22e4eaaac2d7f5955a15a3f
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/lsassy/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/masky/
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/neo4j/neo4j-5.19.0-py3-none-any.whl
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/soupsieve/soupsieve-2.5-py3-none-any.whl
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/pyasn1/pyasn1-0.4.8-py2.py3-none-any.whl
  WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /simple/dploot/dploot-2.2.2-py3-none-any.whl
ERROR: Cannot install netexec and netexec==1.1.0+7d44b11 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

@mpgn
Copy link
Collaborator

mpgn commented Apr 16, 2024

lsassy 3.1.8 depends on impacket<0.11.0 and >=0.10.0

dammm :'(

@Marshall-Hallenbeck
Copy link
Collaborator

It's just because it's set to ^0.10.0: https://github.com/Hackndo/lsassy/blob/master/pyproject.toml#L15

Looks like @mpgn already filed a ticket to upgrade :D

@NeffIsBack
Copy link
Contributor

Really weird though, it is working on an up to date kali and I remember that the root cause was something else...

@ItsCrem
Copy link
Author

ItsCrem commented Apr 16, 2024

¯\_(ツ)_/¯ computers are hard ¯\_(ツ)_/¯

Hackndo pushed a commit to login-securite/lsassy that referenced this issue Apr 17, 2024
@mpgn
Copy link
Collaborator

mpgn commented Apr 17, 2024

lsassy has been updated https://github.com/Hackndo/lsassy/releases/tag/v3.1.10

Can you retry @MaxCaminer ?

@ItsCrem
Copy link
Author

ItsCrem commented Apr 17, 2024

:(

The conflict is caused by:
    netexec 1.1.0+9662ef6 depends on rich<14.0.0 and >=13.3.5
    lsassy 3.1.10 depends on rich<11.0.0 and >=10.6.0
    netexec 1.1.0+9662ef6 depends on impacket 0.12.0.dev1+20240411.142706.1bc283f (from git+https://github.com/fortra/impacket.git)
    bloodhound 1.6.1 depends on impacket>=0.9.17
    dploot 2.2.1 depends on impacket>=0.10.0
    lsassy 3.1.9 depends on impacket<0.11.0 and >=0.10.0
    netexec 1.1.0+9662ef6 depends on impacket 0.12.0.dev1+20240411.142706.1bc283f (from git+https://github.com/fortra/impacket.git)
    bloodhound 1.6.1 depends on impacket>=0.9.17
    dploot 2.2.1 depends on impacket>=0.10.0
    lsassy 3.1.8 depends on impacket<0.11.0 and >=0.10.0

@mpgn
Copy link
Collaborator

mpgn commented Apr 17, 2024

erf
netexec 1.1.0+9662ef6 depends on rich<14.0.0 and >=13.3.5
lsassy 3.1.10 depends on rich<11.0.0 and >=10.6.0

@NeffIsBack
Copy link
Contributor

I tried downgrading to py3.9.2 and it worked no problem with poetry. Do you have any of these packages already installed somehow?

@ItsCrem
Copy link
Author

ItsCrem commented Apr 17, 2024

Yeah I can install with poetry no problem. It's just super odd that I am just unable to with a raspberry pi.

This older pi I attempting to do the pipx install on currently was a fresh installation.

@NeffIsBack
Copy link
Contributor

Unfortunately i don't have a raspberry pi to test it. Pipx worked with py3.9.2 on my system though, so there must be something else preventing the installation (my guess is still some apt package or something).
image

Fatal error from pip prevented installation. Full pip output in file:
/home/crem/.local/pipx/logs/cmd_2024-04-16_17.47.01_pip_errors.log

Can you provide the full error log from pipx?

@mpgn
Copy link
Collaborator

mpgn commented Apr 18, 2024

i mean the error is pretty logical, lsassy require an old package of rich which nxc doesn't support, i'm wondering why we don't have this error on our github action

@mpgn
Copy link
Collaborator

mpgn commented Apr 18, 2024

ah because we are using poetry and not pipx 🗡️

@NeffIsBack
Copy link
Contributor

Why can we install netexec with pipx on kali then?

@NeffIsBack
Copy link
Contributor

NeffIsBack commented Apr 18, 2024

OHH i think i might have the solution. Lsassy specifies rich<14.0.0 and >=13.3.5 but also have a requirements.txt with rich=*. The poetry.lock file therefore uses the requirements.txt and not the pyproject.toml file:
image

Poetry is therefore fine using rich 13.7.0, but pipx somehow tries to use the pyproject.toml file with.

Current setup
Python 3.9.2
Pipx 1.5.0

But i still don't understand why this differs from raspberry OS to kali using pipx

@mpgn
Copy link
Collaborator

mpgn commented Apr 18, 2024

yes good analysis !

maybe we should add a test with pipx install in our github action no ?

@NeffIsBack
Copy link
Contributor

Sounds good!

@ItsCrem
Copy link
Author

ItsCrem commented May 9, 2024

Tried again today. This is the full output of the command and the error log:

crem@volk:~ $ pipx install git+https://github.com/Pennyw0rth/NetExec

Fatal error from pip prevented installation. Full pip output in file:
    /home/crem/.local/pipx/logs/cmd_2024-05-09_14.58.13_pip_errors.log

pip seemed to fail to build package:
    netaddr<0.9.0,>=0.8.0

Some possibly relevant errors from pip install:
    ERROR: Cannot install netexec and netexec==1.1.0+a677b37 because these package versions have conflicting dependencies.
    ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Error installing netexec from spec 'git+https://github.com/Pennyw0rth/NetExec'.

crem@volk:~ $ cat /home/crem/.local/pipx/logs/cmd_2024-05-09_14.58.13_pip_errors.log

PIP STDOUT
----------
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting git+https://github.com/Pennyw0rth/NetExec
  Cloning https://github.com/Pennyw0rth/NetExec to /tmp/pip-req-build-qofi043k
  Resolved https://github.com/Pennyw0rth/NetExec to commit a677b374143519353762a26fd6c11f7fe301dec7
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting impacket@ git+https://github.com/fortra/impacket.git (from netexec==1.1.0+a677b37)
  Cloning https://github.com/fortra/impacket.git to /tmp/pip-install-msk5fn9f/impacket_e59b8888bc224c8eb43a486593013e17
  Resolved https://github.com/fortra/impacket.git to commit 4e3e668a4ebf488545d1c666d15867d1410c271c
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting aardwolf<0.3.0,>=0.2.8 (from netexec==1.1.0+a677b37)
  Using cached aardwolf-0.2.8.tar.gz (944 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Collecting aioconsole<0.7.0,>=0.6.2 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/aioconsole/aioconsole-0.6.2-py3-none-any.whl (30 kB)
Collecting aiosqlite<0.20.0,>=0.19.0 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/aiosqlite/aiosqlite-0.19.0-py3-none-any.whl (15 kB)
Collecting argcomplete<4.0.0,>=3.1.4 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/argcomplete/argcomplete-3.3.0-py3-none-any.whl (42 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.6/42.6 kB 622.3 kB/s eta 0:00:00
Collecting asyauth>=0.0.20 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/asyauth/asyauth-0.0.20-py3-none-any.whl (105 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 105.3/105.3 kB 289.6 kB/s eta 0:00:00
Collecting beautifulsoup4<5,>=4.11 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/beautifulsoup4/beautifulsoup4-4.12.3-py3-none-any.whl (147 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.9/147.9 kB 1.7 MB/s eta 0:00:00
Collecting bloodhound<2.0.0,>=1.7.2 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/bloodhound/bloodhound-1.7.2-py3-none-any.whl (81 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.5/81.5 kB 218.4 kB/s eta 0:00:00
Collecting dploot<3.0.0,>=2.7.1 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/dploot/dploot-2.7.1-py3-none-any.whl (70 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.5/70.5 kB 132.4 kB/s eta 0:00:00
Collecting dsinternals<2.0.0,>=1.2.4 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/dsinternals/dsinternals-1.2.4-py3-none-any.whl (202 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 202.7/202.7 kB 306.6 kB/s eta 0:00:00
Collecting lsassy>=3.1.10 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/lsassy/lsassy-3.1.10-py3-none-any.whl (1.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 443.4 kB/s eta 0:00:00
Collecting masky<0.3.0,>=0.2.0 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/masky/masky-0.2.0-py3-none-any.whl (285 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 285.1/285.1 kB 294.1 kB/s eta 0:00:00
Collecting minikerberos<0.5.0,>=0.4.1 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/minikerberos/minikerberos-0.4.4-py3-none-any.whl (147 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 147.1/147.1 kB 397.2 kB/s eta 0:00:00
Collecting msgpack<2.0.0,>=1.0.0 (from netexec==1.1.0+a677b37)
  Downloading msgpack-1.0.8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (9.1 kB)
Collecting msldap<0.6.0,>=0.5.10 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/msldap/msldap-0.5.10-py3-none-any.whl (154 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 154.5/154.5 kB 211.4 kB/s eta 0:00:00
Collecting neo4j<6.0.0,>=5.0.0 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/neo4j/neo4j-5.20.0-py3-none-any.whl (280 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 280.8/280.8 kB 408.1 kB/s eta 0:00:00
Collecting paramiko<4.0.0,>=3.3.1 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/paramiko/paramiko-3.4.0-py3-none-any.whl (225 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 225.9/225.9 kB 228.0 kB/s eta 0:00:00
Collecting poetry-dynamic-versioning<2.0.0,>=1.2.0 (from netexec==1.1.0+a677b37)
  Using cached https://www.piwheels.org/simple/poetry-dynamic-versioning/poetry_dynamic_versioning-1.3.0-py3-none-any.whl (19 kB)
Collecting pyasn1-modules<0.4.0,>=0.3.0 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/pyasn1-modules/pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.3/181.3 kB 272.8 kB/s eta 0:00:00
Collecting pylnk3<0.5.0,>=0.4.2 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/pylnk3/pylnk3-0.4.2-py3-none-any.whl (21 kB)
Collecting pypsrp<0.9.0,>=0.8.1 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/pypsrp/pypsrp-0.8.1-py3-none-any.whl (88 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.4/88.4 kB 231.3 kB/s eta 0:00:00
Collecting pypykatz<0.7.0,>=0.6.8 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/pypykatz/pypykatz-0.6.9-py3-none-any.whl (390 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 390.3/390.3 kB 379.6 kB/s eta 0:00:00
Collecting python-dateutil>=2.8.2 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/python-dateutil/python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 229.9/229.9 kB 339.0 kB/s eta 0:00:00
Collecting python-libnmap<0.8.0,>=0.7.3 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/python-libnmap/python_libnmap-0.7.3-py3-none-any.whl (37 kB)
Collecting pywerview<0.4.0,>=0.3.3 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/pywerview/pywerview-0.3.3-py3-none-any.whl (56 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.4/56.4 kB 144.8 kB/s eta 0:00:00
Collecting requests>=2.27.1 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/requests/requests-2.31.0-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 160.3 kB/s eta 0:00:00
Collecting rich<14.0.0,>=13.3.5 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/rich/rich-13.7.1-py3-none-any.whl (240 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 240.7/240.7 kB 248.2 kB/s eta 0:00:00
Collecting sqlalchemy<3.0.0,>=2.0.4 (from netexec==1.1.0+a677b37)
  Downloading SQLAlchemy-2.0.30-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (9.6 kB)
Collecting termcolor>=2.4.0 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/termcolor/termcolor-2.4.0-py3-none-any.whl (7.7 kB)
Collecting terminaltables<4.0.0,>=3.1.0 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/terminaltables/terminaltables-3.1.10-py2.py3-none-any.whl (15 kB)
Collecting xmltodict<0.14.0,>=0.13.0 (from netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/xmltodict/xmltodict-0.13.0-py2.py3-none-any.whl (12 kB)
Collecting unicrypto>=0.0.10 (from aardwolf<0.3.0,>=0.2.8->netexec==1.1.0+a677b37)
  Downloading unicrypto-0.0.10-py3-none-any.whl.metadata (386 bytes)
Collecting asysocks>=0.2.9 (from aardwolf<0.3.0,>=0.2.8->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/asysocks/asysocks-0.2.12-py3-none-any.whl (107 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 107.7/107.7 kB 160.7 kB/s eta 0:00:00
Collecting tqdm (from aardwolf<0.3.0,>=0.2.8->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/tqdm/tqdm-4.66.4-py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.3/78.3 kB 211.2 kB/s eta 0:00:00
Collecting colorama (from aardwolf<0.3.0,>=0.2.8->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/colorama/colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting asn1crypto (from aardwolf<0.3.0,>=0.2.8->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/asn1crypto/asn1crypto-1.5.1-py3-none-any.whl (110 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 110.1/110.1 kB 240.0 kB/s eta 0:00:00
Collecting asn1tools (from aardwolf<0.3.0,>=0.2.8->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/asn1tools/asn1tools-0.166.0-py3-none-any.whl (119 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 119.5/119.5 kB 175.6 kB/s eta 0:00:00
Collecting pyperclip>=1.8.2 (from aardwolf<0.3.0,>=0.2.8->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/pyperclip/pyperclip-1.8.2-py3-none-any.whl (10 kB)
Collecting arc4>=0.3.0 (from aardwolf<0.3.0,>=0.2.8->netexec==1.1.0+a677b37)
  Downloading arc4-0.4.0.tar.gz (6.5 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting Pillow>=9.0.0 (from aardwolf<0.3.0,>=0.2.8->netexec==1.1.0+a677b37)
  Downloading pillow-10.3.0-cp311-cp311-manylinux_2_28_aarch64.whl.metadata (9.2 kB)
Collecting soupsieve>1.2 (from beautifulsoup4<5,>=4.11->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/soupsieve/soupsieve-2.5-py3-none-any.whl (36 kB)
Collecting dnspython (from bloodhound<2.0.0,>=1.7.2->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/dnspython/dnspython-2.6.1-py3-none-any.whl (307 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 307.7/307.7 kB 313.6 kB/s eta 0:00:00
Collecting ldap3!=2.5.0,!=2.5.2,!=2.6,>=2.5 (from bloodhound<2.0.0,>=1.7.2->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/ldap3/ldap3-2.9.1-py3-none-any.whl (419 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 419.1/419.1 kB 981.3 kB/s eta 0:00:00
Collecting pyasn1>=0.4 (from bloodhound<2.0.0,>=1.7.2->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/pyasn1/pyasn1-0.6.0-py2.py3-none-any.whl (85 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.3/85.3 kB 1.5 MB/s eta 0:00:00
Collecting future (from bloodhound<2.0.0,>=1.7.2->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/future/future-1.0.0-py3-none-any.whl (491 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.3/491.3 kB 697.6 kB/s eta 0:00:00
Collecting pycryptodome (from bloodhound<2.0.0,>=1.7.2->netexec==1.1.0+a677b37)
  Downloading pycryptodome-3.20.0-cp35-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (3.4 kB)
Collecting cryptography<41.0.0,>=40.0.1 (from dploot<3.0.0,>=2.7.1->netexec==1.1.0+a677b37)
  Downloading cryptography-40.0.2-cp36-abi3-manylinux_2_28_aarch64.whl.metadata (5.4 kB)
Collecting lxml==4.9.3 (from dploot<3.0.0,>=2.7.1->netexec==1.1.0+a677b37)
  Downloading lxml-4.9.3-cp311-cp311-manylinux_2_28_aarch64.whl.metadata (3.8 kB)
Collecting pyasn1>=0.4 (from bloodhound<2.0.0,>=1.7.2->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/pyasn1/pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 112.0 kB/s eta 0:00:00
Collecting pycryptodomex (from impacket@ git+https://github.com/fortra/impacket.git->netexec==1.1.0+a677b37)
  Downloading pycryptodomex-3.20.0-cp35-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (3.4 kB)
Collecting pyOpenSSL>=21.0.0 (from impacket@ git+https://github.com/fortra/impacket.git->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/pyopenssl/pyOpenSSL-24.1.0-py3-none-any.whl (56 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.9/56.9 kB 136.5 kB/s eta 0:00:00
Collecting six (from impacket@ git+https://github.com/fortra/impacket.git->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/six/six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting ldapdomaindump>=0.9.0 (from impacket@ git+https://github.com/fortra/impacket.git->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/ldapdomaindump/ldapdomaindump-0.9.4-py3-none-any.whl (18 kB)
Collecting flask>=1.0 (from impacket@ git+https://github.com/fortra/impacket.git->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/flask/flask-3.0.3-py3-none-any.whl (101 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.7/101.7 kB 249.0 kB/s eta 0:00:00
Requirement already satisfied: setuptools in ./.local/pipx/shared/lib/python3.11/site-packages (from impacket@ git+https://github.com/fortra/impacket.git->netexec==1.1.0+a677b37) (69.5.1)
Collecting charset_normalizer (from impacket@ git+https://github.com/fortra/impacket.git->netexec==1.1.0+a677b37)
  Downloading charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.metadata (33 kB)
Collecting netaddr<0.9.0,>=0.8.0 (from lsassy>=3.1.10->netexec==1.1.0+a677b37)
  Downloading https://www.piwheels.org/simple/netaddr/netaddr-0.8.0-py3-none-any.whl (1.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 933.5 kB/s eta 0:00:00
INFO: pip is looking at multiple versions of lsassy to determine which version is compatible with other requirements. This could take a while.

The conflict is caused by:
    netexec 1.1.0+a677b37 depends on rich<14.0.0 and >=13.3.5
    lsassy 3.1.10 depends on rich<11.0.0 and >=10.6.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict


PIP STDERR
----------
  Running command git clone --filter=blob:none --quiet https://github.com/Pennyw0rth/NetExec /tmp/pip-req-build-qofi043k
  Running command git clone --filter=blob:none --quiet https://github.com/fortra/impacket.git /tmp/pip-install-msk5fn9f/impacket_e59b8888bc224c8eb43a486593013e17
ERROR: Cannot install netexec and netexec==1.1.0+a677b37 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

@ItsCrem
Copy link
Author

ItsCrem commented May 9, 2024

However, the changes made in login-securite/lsassy#93 fix the issue!

I changed the lsassy dependency in pyproject.toml to the following to test the changes:
lsassy = { git = "https://github.com/login-securite/lsassy", branch="3.1.11"}

Ran the install again and success!

image

@Hackndo
Copy link
Contributor

Hackndo commented May 13, 2024

Should be better login-securite/lsassy@9c26e3a

@mpgn
Copy link
Collaborator

mpgn commented May 13, 2024

https://github.com/login-securite/lsassy/releases/tag/v3.1.11 🎉

thanks @Hackndo

mpgn added a commit that referenced this issue May 14, 2024
@NeffIsBack
Copy link
Contributor

Closing as this should be fixed with #304

mpgn added a commit that referenced this issue May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

5 participants