Crackmapexec using poetry and proxychains not working
Rffrench opened this issue · 1 comments
Describe the bug
Hey there, I have been trying to run crackmapexec
with proxychains
and poetry
using every kind of combination but there seems to be a bug in proxychains
, poetry
or crackmapexec
. Every other tool I use with `proxychains``works perfectly.
Here are the different ways I have tried executing it. Note again that if I use proxychains
with nmap
or other tools it works just fine.
CrackmapExec is in the cme
folder and it works fine when executing it without proxychains
.
- Method 1:
chino@mypc:~/Applications/cme$ proxychains poetry run crackmapexec
[proxychains] config file found: /etc/proxychains4.conf
[proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4
[proxychains] DLL init: proxychains-ng 4.14
Expecting value: line 1 column 2 (char 1)
- Method 2 (
poetry
with absolute path):
chino@mypc:~/Applications/cme$ proxychains /home/chino/.local/bin/poetry run crackmapexec
[proxychains] config file found: /etc/proxychains4.conf
[proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4
[proxychains] DLL init: proxychains-ng 4.14
Expecting value: line 1 column 2 (char 1)
- Method 3 (absolute paths for both binaries,
poetry
andcrackmapexec
):
chino@mypc:~/Applications/cme$ proxychains /home/chino/.local/bin/poetry run /home/chino/Applications/cme/crackmapexec
[proxychains] config file found: /etc/proxychains4.conf
[proxychains] preloading /usr/lib/x86_64-linux-gnu/libproxychains.so.4
[proxychains] DLL init: proxychains-ng 4.14
Expecting value: line 1 column 2 (char 1)
To Reproduce
Steps to reproduce the behavior:
- Install crackmapexec following the official wiki instructions (
poetry
way) - Install proxychains-ng
- In the CME folder created, run
proxychains poetry run crackmapexec
Expected behavior
Working normally.
Crackmapexec info
OS: Ubuntu 20.04.1
- Version of CME Version : 5.4.1
- Installed from apt or using latest release ? Installed manually with latest release
I would highly appreciate any help!
Thanks in advance
Fixed it. poetry
had a bug that caused errors with proxychains
and it got fixed with the latest versions.