Package Details: crackmapexec 5.4.0-2

Git Clone URL: https://aur.archlinux.org/crackmapexec.git (read-only, click to copy)
Package Base: crackmapexec
Description: A swiss army knife for pentesting Windows/Active Directory environments
Upstream URL: https://github.com/byt3bl33d3r/CrackMapExec
Keywords: active ad directory network pentest redteam security windows
Licenses: GPL3
Submitter: bao7uo
Maintainer: GI_Jack
Last Packager: GI_Jack
Votes: 3
Popularity: 0.000000
First Submitted: 2018-01-25 10:56 (UTC)
Last Updated: 2023-05-08 03:56 (UTC)

Pinned Comments

GI_Jack commented on 2023-12-24 05:00 (UTC)

@kiwi42

I used to maintain a Live OS based on Arch, that had some netsec stuff in it, so I had my own repo, for that OS, that had some extra tools. The repo can be used in Vanilla Arch. it also has a bunch of additional tools not installed by default that can be installed runtime via pacman.

So, because CME is popular with pentesters, I included it in the repo. Because the previous packager just gave up and couldn't figure out how to get the package working for CME 5, I just stepped in and overhauled it.

This OS is now discontinued, and while I still maintain the repo, for other Arch people, someone else can put in the effort this package requires. I will keep this one open, but feel free to fork for this new one if you want. The effort is generally keeping track of deps and making sure all the deps are in AUR. All of those now need to be maintained...

kiwi42 commented on 2023-12-07 10:23 (UTC)

CrackMapExec is dead, the successor is called NetExec which is a fork of CrackMapExec. See: https://github.com/Pennyw0rth/NetExec

I would love to see a NetExec AUR pakage :)

Latest Comments

GI_Jack commented on 2023-12-24 05:00 (UTC)

@kiwi42

I used to maintain a Live OS based on Arch, that had some netsec stuff in it, so I had my own repo, for that OS, that had some extra tools. The repo can be used in Vanilla Arch. it also has a bunch of additional tools not installed by default that can be installed runtime via pacman.

So, because CME is popular with pentesters, I included it in the repo. Because the previous packager just gave up and couldn't figure out how to get the package working for CME 5, I just stepped in and overhauled it.

This OS is now discontinued, and while I still maintain the repo, for other Arch people, someone else can put in the effort this package requires. I will keep this one open, but feel free to fork for this new one if you want. The effort is generally keeping track of deps and making sure all the deps are in AUR. All of those now need to be maintained...

kiwi42 commented on 2023-12-07 10:23 (UTC)

CrackMapExec is dead, the successor is called NetExec which is a fork of CrackMapExec. See: https://github.com/Pennyw0rth/NetExec

I would love to see a NetExec AUR pakage :)

dreieck commented on 2023-05-07 17:36 (UTC)

python-aardwolf needs to be added to the depends array to make this package work:

When i start crackmapexec, it fails with
ModuleNotFoundError: No module named 'aardwolf':

[*] First time use detected
[*] Creating home directory structure
[*] Creating default workspace
[*] Initializing FTP protocol database
[*] Initializing LDAP protocol database
[*] Initializing MSSQL protocol database
[*] Initializing RDP protocol database
[*] Initializing SMB protocol database
[*] Initializing SSH protocol database
[*] Initializing WINRM protocol database
[*] Copying default configuration file
[*] Generating SSL certificate
Traceback (most recent call last):
  File "/usr/bin/crackmapexec", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.11/site-packages/cme/crackmapexec.py", line 117, in main
    args = gen_cli_args()
           ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/cme/cli.py", line 76, in gen_cli_args
    protocol_object = p_loader.load_protocol(protocols[protocol]['path'])
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/cme/loaders/protocol_loader.py", line 15, in load_protocol
    protocol = imp.load_source('protocol', protocol_path)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/imp.py", line 170, in load_source
    module = _exec(spec, sys.modules[name])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 621, in _exec
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/usr/lib/python3.11/site-packages/cme/protocols/rdp.py", line 10, in <module>
    from aardwolf import logger
ModuleNotFoundError: No module named 'aardwolf'

After installing the required package, it starts up and shows it's help screen.

Thanks for maintaining,

regards!

Severus commented on 2022-07-09 15:37 (UTC)

Hi, thank you for your package, but I see after poetry build, it will create the wheel.

then no need these lines.

python -m build --wheel --no-isolation
cd dist
tar zxvf "${pkgname}-${_pkgver}.tar.gz"