Closed whoot closed 6 years ago
Same for me... The installer seems broken on Kali 2017.2.
I'm getting the following after a fresh install: root@kali:/opt/Empire/setup# uname -a Linux kali 4.12.0-kali1-amd64 #1 SMP Debian 4.12.6-1kali6 (2017-08-30) x86_64 GNU/Linux
./install.sh [...] checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking for OpenSSL_add_all_ciphers in -lcrypto... no configure: error: Cannot build without libcrypto (OpenSSL) make: No targets specified and no makefile found. Stop. make: No rule to make target 'install'. Stop. Cloning into 'bomutils'... [...]
FWIW, I fixed the above error by replacing "libssl-dev" with "libssl1.0-dev" in the install script, but am not getting:
configure: error: Cannot build without libz make: No targets specified and no makefile found. Stop. make: No rule to make target 'install'. Stop.
@gerrenmurphy I fixed the libz problem by installing the zlib package.
@whoot those are actually two separate issues. The issue with the rest api and the pem file is fixed in the dev branch. Did any of the above suggestions work for you??
Pulling the current files fixed the issues. Thanks!
Getting the same issue now as @gerrenmurphy. Fixed it by installing zlib package and replacing 'libssl1.0.0 libssl-dev' with 'libssl1.0-dev' in install.sh.
Otherwise HTTPS Listeners wont work!
Made an pull request for this issue: #811
@whoot We now have a docker build release. This should resolve issues with libcrypto. Please let me know if this works for you. #848
Alright, after debugging I can say that this is definitly an libssl issue. This error is shown when trying to configure 'xar-1.5.2'. After installing libssl1.0-dev instead of 'libssl-dev' everything works fine.
This was also mentioned in #521
Same problem with Ubuntu 18.04
Empire Version
current
OS Information (Linux flavor, Python version)
uname -a Linux kali 4.12.0-kali2-amd64 #1 SMP Debian 4.12.12-2kali1 (2017-09-13) x86_64 GNU/Linux
python --version Python 2.7.13
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
Installation script should install every dependency and compile without error. However libssl1.0.0 can not be found and the xar path is not checked if it contains spaces.
This will result in an unlimited generation of the following error when executing the Empire RESTApi:
Any additional information
Seems like the "Empire/setup/xar-1.5.2/lib" can not be found because there is a space in the path ("/Windows Domain/"). Cloning and installing it in a directory without spaces will not throw this error.