CrackMapExec icon indicating copy to clipboard operation
CrackMapExec copied to clipboard

Ability to clear the database (without just blowing away the ~/.cme directory)

Open bucky67gto opened this issue 8 years ago • 3 comments

Any idea how to clear the database for a new engagement?

bucky67gto avatar Jul 06 '17 20:07 bucky67gto

Is there any reason not to just revert to checked out HEAD commit? It would wipe out any local changes:

git reset --hard HEAD

If you made any local changes you would lose them, but if you haven't it should also now be easy fetch new changes. This repo is actively maintained and new stuff is added and fixed all the time.

decidedlygray avatar Jul 10 '17 03:07 decidedlygray

@bucky67gto you can just delete the ~/.cme directory, it will be re-created on runtime. I definitely agree there should be a better way of doing this though.

byt3bl33d3r avatar Jul 10 '17 04:07 byt3bl33d3r

Or alternatively just delete the smb.db file in the ~/.cme directory ;)

byt3bl33d3r avatar Jul 10 '17 04:07 byt3bl33d3r

Hello,

Thanks for the issue, it is now fixed on the last public release of CrackMapExec https://github.com/mpgn/CrackMapExec v6.0.0

Regards,

mpgn

mpgn avatar Jun 26 '23 20:06 mpgn