byt3bl33d3r / CrackMapExec

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

API Authentication Error #810

Open Dfalacara opened 10 months ago

Dfalacara commented 10 months ago

Describe the bug I am receiving an SSL error from CME when trying to authenticate to the Empire API.

To Reproduce Command: crackmapexec smb 172.16.10.0/24 -M empire_exec -0 LISTENER-http Resulted in:

-$ crackmapexec smb 172.16.10.0/24 -M empire_exec -0 LISTENER-http
EMPIRE_E ...
[-] Unable to connect to Empire's F Ul API: HTTPSConnectionPool (host= '127.0.0.1', port=1337): Max retries exceeded with url
pi/admin/login (Caused by SSLError(SSLError(1,
'[SSL: WRONG_VERSION _NUMBER] wrong versi
umber (_ssl.c:1002)')))

Expected behavior Expected CME to authenticate to the Empire API and launch an agent on the compromised device that I could managed from the Empire CLI.

Crackmapexec info

Additional context Latest version of Empire by BC Security and no options are used on startup for Empire. I can curl the API and get a normal response as well.