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

Installation

byt3bl33d3r edited this page Apr 20, 2020 · 42 revisions

Installation

You should only install from source if you intend to hack on the source code and/or submit a PR!

If you just intend on using the tool, get the binaries!

Binaries

You should be using the binaries in 99% of the cases as it requires no installation (outside of Python 3 itself).

Go to the actions tab (at the top of the repo), click on the latest build and download the appropriate binary according to your OS.

(Note: you need to be logged into Github in order to download the artifacts)

Installing from Source

  1. Kali
  2. Debian/Ubuntu
  3. Arch Linux
  4. Mac OSX

Important

In all of the following Bleeding-Edge install instructions, please note the --recursive flag passed to the git clone command. This flag will make git automatically download all of the sub-modules CME depends on. Without this flag installation will fail and heads might explode.

Kali

  • Latest Stable Version
#~ apt-get install crackmapexec
  • Bleeging-Edge

It is highly recommended to use pipenv to install CME so it's dependencies don't create conflicts with your system packages.

#~ apt-get install -y libssl-dev libffi-dev python-dev build-essential
#~ pip install --user pipenv
#~ git clone --recursive https://github.com/byt3bl33d3r/CrackMapExec
#~ cd CrackMapExec && pipenv install
#~ pipenv shell
#~ python setup.py install

Debian/Ubuntu

It is highly reccomended to use pipenv to install CME so it's dependencies don't create conflicts with your system packages.

  • Latest Stable Version
#~ apt-get install -y libssl-dev libffi-dev python-dev build-essential
#~ pip install crackmapexec
  • Bleeging-Edge
#~ apt-get install -y libssl-dev libffi-dev python-dev build-essential
#~ pip install --user pipenv
#~ git clone --recursive https://github.com/byt3bl33d3r/CrackMapExec
#~ cd CrackMapExec && pipenv install
#~ pipenv shell
#~ python setup.py install

Arch Linux

It is highly reccomended to use pipenv to install CME so it's dependencies don't create conflicts with your system packages.

  • Latest Stable Version
pip install crackmapexec
  • Bleeging-Edge
#~ pip install --user pipenv
#~ git clone --recursive https://github.com/byt3bl33d3r/CrackMapExec
#~ cd CrackMapExec && pipenv install
#~ pipenv shell
#~ python setup.py install

Mac OSX

It is highly reccomended to use pipenv to install CME so it's dependencies don't create conflicts with your system packages.

  • Latest Stable Version
pip install --user crackmapexec
  • Bleeging-Edge
#~ pip install --user pipenv
#~ git clone --recursive https://github.com/byt3bl33d3r/CrackMapExec
#~ cd CrackMapExec && pipenv install
#~ pipenv shell
#~ python setup.py install