Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Failures when using modules (-M) #819

Open
init5-SF opened this issue Nov 18, 2023 · 0 comments
Open

Failures when using modules (-M) #819

init5-SF opened this issue Nov 18, 2023 · 0 comments

Comments

@init5-SF
Copy link

Describe the bug
Using -M results in an error.
The error is the same no matter what module I'm using and no matter what protocol as well (same result with smb, winrm, etc.)

To Reproduce
Steps to reproduce the behavior i.e.:
Command: ./cme ldap 192.168.194.150 -u administrator -p xxxx -M get-desc-users
Resulted in:

[-] Failed loading module at /root/.shiv/cme_c3f72447db4301656f878a27acd26fdf28455388b17a460525b82f45c3058cc2/site-packages/cme/modules/ldap-checker.py: Error detecting the version of libcrypto
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/opt/./cme/__main__.py", line 3, in <module>
  File "/opt/./cme/_bootstrap/__init__.py", line 253, in bootstrap
  File "/opt/./cme/_bootstrap/__init__.py", line 38, in run
  File "/root/.shiv/cme_c3f72447db4301656f878a27acd26fdf28455388b17a460525b82f45c3058cc2/site-packages/cme/crackmapexec.py", line 167, in main
    modules = loader.list_modules()
              ^^^^^^^^^^^^^^^^^^^^^
  File "/root/.shiv/cme_c3f72447db4301656f878a27acd26fdf28455388b17a460525b82f45c3058cc2/site-packages/cme/loaders/moduleloader.py", line 136, in list_modules
    modules.update(module_data)
TypeError: 'NoneType' object is not iterable

Expected behavior
The selected module should run normally

Screenshots
cme

Crackmapexec info

  • OS: Kali
  • Version of CME: 6.0.0
  • Installed from: downloaded the standalone cme
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant