byt3bl33d3r / CrackMapExec

A swiss army knife for pentesting networks
BSD 2-Clause "Simplified" License
8.37k stars 1.64k forks source link

Unrecognized command: smb [RESOLVED] #488

Closed 6062055 closed 3 years ago

6062055 commented 3 years ago

Describe the bug Unrecognized command: smb

To Reproduce Steps to reproduce the behavior:

  1. Go to command line
  2. Run any 'cme' or 'sudu cme' smb ('cme smb', 'sudo cme smb')
  3. "Unrecognized command: smb"

Expected behavior To recognize smb, like the examples, and like it has worked in the past.

Screenshots image

Crackmapexec info

Additional context My CME worked in the past, and then it broke, and I had to reinstall it. Now, it runs, but doesn't recognize the command I want to run.

6062055 commented 3 years ago

Just in case it matters, here is what it was doing when it was completely broken, which is exactly what it still does when I run 'crackmapexec', instead of 'cme'.

image

6062055 commented 3 years ago

Damn it, is there two different 'cme' programs?

6062055 commented 3 years ago

OK, removed 'cme' (whatever that was) with apt, and restarted the machine, and it worked. Geez!