Closed roigershon15 closed 4 years ago
Hello,
You are using crackmapexec with python2.7 which is not supported anymore by cme. Try with python3
apt-get install -y libssl-dev libffi-dev python-dev build-essential
git clone --recursive https://github.com/byt3bl33d3r/CrackMapExec
cd CrackMapExec
python3 setup.py install
Hi,
also i tried to install pylnk3 from github, but it did not resolve the issue and i get the same error message.
any other ideas? :)
Closing since this isn't related to CME anymore. Also i would reccomend using the binaries now. Check them out in the actions tab (I'll be updating the docs shortly).
Cheers
To install crackmapexec: sudo git clone https://github.com/byt3bl33d3r/CrackMapExec cd CrackMapExec pip3 install -r requirements.txt sudo apt install crackmapexec -y
Note: You can remove the folder crackmapexec after running requirements.txt (this is important before you install crackmapexec) This will not get you any above traceback errors,
To install crackmapexec: sudo git clone https://github.com/byt3bl33d3r/CrackMapExec cd CrackMapExec pip3 install -r requirements.txt sudo apt install crackmapexec -y
Note: You can remove the folder crackmapexec after running requirements.txt (this is important before you install crackmapexec) This will not get you any above traceback errors,
This works 100%
Steps to reproduce
Steps taken:
CME Version (cme --version)
when i check the version i get the following error message:
admin@Kali:~$ cme --version Traceback (most recent call last): File "/usr/local/bin/cme", line 6, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3251, in
@_call_aside
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3235, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 3264, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 583, i n _build_master
ws.require(requires)
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 900, i n require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources/init.py", line 786, i n resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'requests-ntlm>=0.3.0' distribution was not found and is required by crackmapexec