It is not working anymore on Py3.12: ModuleNotFoundError: No module named 'imp'
Search Criteria
Package Details: crackmapexec 5.4.0-3
Package Actions
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: | 2024-10-17 11:16 (UTC) |
Dependencies (65)
- impacket (python-impacket-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-aardwolfAUR (python-aardwolf-gitAUR)
- python-aioconsole
- python-aiowinregAUR
- python-asn1crypto
- python-asysocksAUR
- python-bcrypt
- python-beautifulsoup4
- python-bs4AUR
- python-certifi
- python-cffi
- python-chardet
- python-click
- python-cryptography
- python-dnspython (python-dnspython-gitAUR)
- python-flask (python-flask-gitAUR)
- python-future
- python-gevent (python-gevent-gitAUR)
- python-greenlet
- Show 45 more dependencies...
Required by (0)
Sources (1)
Latest Comments
Case_Of commented on 2024-06-03 20:34 (UTC)
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"
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 :)