EmpireProject / Empire

Empire is a PowerShell and Python post-exploitation agent.

Home Page:http://www.powershellempire.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot access archive 'libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb'

CLeBeRFR opened this issue · comments

Empire Version

2.3.0

OS Information (Linux flavor, Python version)

Linux Kali 4.19.0-kali1-amd64 #1 SMP Debian 4.19.13-1kali1 (2019-01-03) x86_64 GNU/Linux

Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.

A library (libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb) can't be found.
Some commands in python installer failed like ImportError: No module named PyInstaller.
My problem is simalar to this issue and should be fixed by merge #1268

Screenshot of error, embedded text output, or Pastebin link to the error

This is the output of the ./setup/install.sh command.

root@Kali:~/Empire# ./setup/install.sh
--2019-02-01 19:13:00--  http://ftp.us.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb
Résolution de ftp.us.debian.org (ftp.us.debian.org)… 208.80.154.15, 64.50.233.100, 128.30.2.26, ...
Connexion à ftp.us.debian.org (ftp.us.debian.org)|208.80.154.15|:80… connecté.
requête HTTP transmise, en attente de la réponse… 404 Not Found
2019-02-01 19:13:00 erreur 404 : Not Found.

dpkg: erreur: cannot access archive 'libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb': Aucun fichier ou dossier de ce type
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
build-essential est déjà la version la plus récente (12.5).
default-jdk est déjà la version la plus récente (2:1.11-71).
g++ est déjà la version la plus récente (4:8.2.0-2).
libssl1.0-dev est déjà la version la plus récente (1.0.2q-2).
libxml2-dev est déjà la version la plus récente (2.9.4+dfsg1-7+b2).
make est déjà la version la plus récente (4.2.1-1.2).
python-dev est déjà la version la plus récente (2.7.15-4).
python-m2crypto est déjà la version la plus récente (0.31.0-2).
python-pip est déjà la version la plus récente (18.1-4).
swig est déjà la version la plus récente (3.0.12-1.2).
zlib1g-dev est déjà la version la plus récente (1:1.2.11.dfsg-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 445 non mis à jour.
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Requirement already up-to-date: pip in /usr/local/lib/python2.7/dist-packages (19.0.1)
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting urllib3<1.23,>=1.21.1 (from -r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl
Collecting requests==2.18.4 (from -r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 3)) (40.6.2)
Collecting iptools (from -r requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/7c/0b/b8d60db9ba18b386ee95e48bd04f51fccba28680c6e2b49b68b1af4a1c6d/iptools-0.7.0-py2.py3-none-any.whl
Collecting pydispatcher (from -r requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/cd/37/39aca520918ce1935bea9c356bcbb7ed7e52ad4e31bff9b943dfc8e7115b/PyDispatcher-2.0.5.tar.gz
Requirement already satisfied: flask in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 6)) (1.0.2)
Collecting macholib (from -r requirements.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/41/f1/6d23e1c79d68e41eb592338d90a33af813f98f2b04458aaf0b86908da2d8/macholib-1.11-py2.py3-none-any.whl
Collecting dropbox (from -r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/67/ad/c4c18d526bcc55b93c00c516f68c3f353fb5f099c459279d3ed18518bd4c/dropbox-9.3.0-py2-none-any.whl
Collecting pyOpenSSL==17.2.0 (from -r requirements.txt (line 9))
  Using cached https://files.pythonhosted.org/packages/41/bd/751560b317222ba6b6d2e7663a990ac36465aaa026621c6057db130e2faf/pyOpenSSL-17.2.0-py2.py3-none-any.whl
Collecting pyinstaller (from -r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/03/32/0e0de593f129bf1d1e77eed562496d154ef4460fd5cecfd78612ef39a0cc/PyInstaller-3.4.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  Complete output from command /usr/bin/python /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpCYp6Im:
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
      main()
    File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 54, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/tmp/pip-build-env-XFQXV8/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 115, in get_requires_for_build_wheel
      return _get_build_requires(config_settings, requirements=['wheel'])
    File "/tmp/pip-build-env-XFQXV8/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 101, in _get_build_requires
      _run_setup()
    File "/tmp/pip-build-env-XFQXV8/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 85, in _run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 20, in <module>
      from PyInstaller import __version__ as version, HOMEPATH, PLATFORM
  ImportError: No module named PyInstaller
  
  ----------------------------------------
Command "/usr/bin/python /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpCYp6Im" failed with error code 1 in /tmp/pip-install-b29Ojk/pyinstaller
DISTRIB_ID=Kali
DISTRIB_RELEASE=kali-rolling
DISTRIB_CODENAME=kali-rolling
DISTRIB_DESCRIPTION="Kali GNU/Linux Rolling"
Atteint:1 https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch InRelease
Atteint:2 http://ftp.free.fr/pub/kali kali-rolling InRelease     
Lecture des listes de paquets... Fait       
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
apt-transport-https est déjà la version la plus récente (1.8.0~beta1).
curl est déjà la version la plus récente (7.63.0-1).
gnupg est déjà la version la plus récente (2.2.12-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 445 non mis à jour.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   983  100   983    0     0   3681      0 --:--:-- --:--:-- --:--:--  3681
OK
Atteint:1 https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch InRelease
Atteint:2 http://ftp.free.fr/pub/kali kali-rolling InRelease     
Lecture des listes de paquets... Fait
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation : 

Les paquets suivants contiennent des dépendances non satisfaites :
 powershell : Dépend: libicu57 mais il n'est pas installable
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
ls: impossible d'accéder à '/opt/microsoft/powershell/*/DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY': Aucun fichier ou dossier de ce type
xar-1.5.2/
xar-1.5.2/lib/
xar-1.5.2/lib/fbsdattr.c
xar-1.5.2/lib/filetree.h
xar-1.5.2/lib/stat.c
xar-1.5.2/lib/hash.c
xar-1.5.2/lib/ext2.h
xar-1.5.2/lib/darwinattr.h
xar-1.5.2/lib/libxar.la.in.in
xar-1.5.2/lib/archive.c
xar-1.5.2/lib/subdoc.c
xar-1.5.2/lib/script.c
xar-1.5.2/lib/script.h
xar-1.5.2/lib/arcmod.c
xar-1.5.2/lib/arcmod.h
xar-1.5.2/lib/b64.c
xar-1.5.2/lib/subdoc.h
xar-1.5.2/lib/filetree.c
xar-1.5.2/lib/bzxar.c
xar-1.5.2/lib/ext2.c
xar-1.5.2/lib/fbsdattr.h
xar-1.5.2/lib/linuxattr.c
xar-1.5.2/lib/macho.c
xar-1.5.2/lib/ea.h
xar-1.5.2/lib/appledouble.h
xar-1.5.2/lib/darwinattr.c
xar-1.5.2/lib/util.h
xar-1.5.2/lib/util.c
xar-1.5.2/lib/hash.h
xar-1.5.2/lib/zxar.c
xar-1.5.2/lib/data.h
xar-1.5.2/lib/zxar.h
xar-1.5.2/lib/signature.h
xar-1.5.2/lib/bzxar.h
xar-1.5.2/lib/macho.h
xar-1.5.2/lib/signature.c
xar-1.5.2/lib/b64.h
xar-1.5.2/lib/err.c
xar-1.5.2/lib/asprintf.h
xar-1.5.2/lib/stat.h
xar-1.5.2/lib/io.h
xar-1.5.2/lib/linuxattr.h
xar-1.5.2/lib/io.c
xar-1.5.2/lib/ea.c
xar-1.5.2/lib/archive.h
xar-1.5.2/lib/data.c
xar-1.5.2/lib/Makefile.inc.in
xar-1.5.2/cfgoutputs.stamp.in
xar-1.5.2/cfghdrs.stamp.in
xar-1.5.2/config.guess
xar-1.5.2/INSTALL
xar-1.5.2/include/
xar-1.5.2/include/config.h.in
xar-1.5.2/include/xar.h.in
xar-1.5.2/configure
xar-1.5.2/test/
xar-1.5.2/test/checksums
xar-1.5.2/test/functions
xar-1.5.2/test/attr
xar-1.5.2/test/data.xsl
xar-1.5.2/test/buffer.c
xar-1.5.2/test/compression
xar-1.5.2/test/heap1.xsl
xar-1.5.2/test/data
xar-1.5.2/test/heap
xar-1.5.2/test/hardlink
xar-1.5.2/test/validate.c
xar-1.5.2/LICENSE
xar-1.5.2/Makefile.in
xar-1.5.2/src/
xar-1.5.2/src/xar.1
xar-1.5.2/src/xar.c
xar-1.5.2/src/Makefile.inc.in
xar-1.5.2/TODO
xar-1.5.2/configure.ac
xar-1.5.2/xar.spec.in
xar-1.5.2/Mk/
xar-1.5.2/config.sub
xar-1.5.2/install-sh
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ld... /usr/bin/ld
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for autoconf... /usr/bin/autoconf
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ext2fs/ext2_fs.h usability... no
checking ext2fs/ext2_fs.h presence... no
checking for ext2fs/ext2_fs.h... no
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for lgetxattr... yes
checking for lsetxattr... yes
checking for getxattr... yes
checking for setxattr... yes
checking for getattrlist... no
checking for setattrlist... no
checking for lchmod... no
checking for lchown... yes
checking for chflags... no
checking for statvfs... yes
checking for statfs... yes
checking for strmode... no
checking for struct statfs.f_fstypename... no
checking for struct statvfs.f_fstypename... no
checking for struct stat.st_flags... no
checking for uid_t... yes
checking size of uid_t... 4
checking for gid_t... yes
checking size of gid_t... 4
checking for ino_t... yes
checking size of ino_t... 8
checking for dev_t... yes
checking size of dev_t... 8
checking for acl_get_file in -lacl... yes
checking for asprintf... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml >= 2.6.11... 2.9.4
checking libxml/xmlwriter.h usability... yes
checking libxml/xmlwriter.h presence... yes
checking for libxml/xmlwriter.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking for OpenSSL_add_all_ciphers in -lcrypto... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
checking for BZ2_bzCompress in -lbz2... no
configure: creating ./config.status
config.status: creating cfgoutputs.stamp
config.status: creating Makefile
config.status: creating include/xar.h
config.status: creating lib/Makefile.inc
config.status: creating lib/libxar.la.in
config.status: creating src/Makefile.inc
config.status: creating xar.spec
config.status: creating cfghdrs.stamp
config.status: cfghdrs.stamp is unchanged
config.status: creating include/config.h
config.status: include/config.h is unchanged
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/archive.c -o lib/archive.o
lib/archive.c: In function ‘xar_close’:
lib/archive.c:310:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  int ret, retval = 0;
      ^~~
lib/archive.c: In function ‘xar_unserialize’:
lib/archive.c:1312:12: warning: variable ‘noattr’ set but not used [-Wunused-but-set-variable]
  int type, noattr, ret;
            ^~~~~~
lib/archive.c:1311:33: warning: variable ‘uri’ set but not used [-Wunused-but-set-variable]
  const xmlChar *name, *prefix, *uri;
                                 ^~~
lib/archive.c:1311:24: warning: variable ‘prefix’ set but not used [-Wunused-but-set-variable]
  const xmlChar *name, *prefix, *uri;
                        ^~~~~~
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/arcmod.c -o lib/arcmod.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/bzxar.c -o lib/bzxar.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/darwinattr.c -o lib/darwinattr.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/data.c -o lib/data.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ea.c -o lib/ea.o
lib/ea.c: In function ‘xar_ea_new’:
lib/ea.c:42:78: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
  asprintf((char **)&XAR_ATTR(XAR_PROP(XAR_EA(ret)->prop)->attrs)->value, "%lld", XAR_FILE(f)->nexteaid++);
                                                                           ~~~^
                                                                           %ld
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/err.c -o lib/err.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ext2.c -o lib/ext2.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/fbsdattr.c -o lib/fbsdattr.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/filetree.c -o lib/filetree.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/io.c -o lib/io.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/linuxattr.c -o lib/linuxattr.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/hash.c -o lib/hash.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/signature.c -o lib/signature.o
lib/signature.c: In function ‘xar_signature_serialize’:
lib/signature.c:384:44: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int32_t’ {aka ‘int’} [-Wformat=]
  xmlTextWriterWriteFormatString(writer, "%ld", (XAR_SIGNATURE(sig)->len));
                                          ~~^   ~~~~~~~~~~~~~~~~~~~~~~~~~
                                          %d
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/stat.c -o lib/stat.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/subdoc.c -o lib/subdoc.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/util.c -o lib/util.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/zxar.c -o lib/zxar.o
lib/zxar.c: In function ‘xar_gzip_toheap_in’:
lib/zxar.c:161:6: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
  int r;
      ^
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/script.c -o lib/script.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/macho.c -o lib/macho.o
gcc -shared -Wl,-soname,libxar.so.1 -o lib/librxar.so.1 lib/archive.o lib/arcmod.o lib/b64.o lib/bzxar.o lib/darwinattr.o lib/data.o lib/ea.o lib/err.o lib/ext2.o lib/fbsdattr.o lib/filetree.o lib/io.o lib/linuxattr.o lib/hash.o lib/signature.o lib/stat.o lib/subdoc.o lib/util.o lib/zxar.o lib/script.o lib/macho.o -lz -lcrypto -lacl  -lxml2
rm -f lib/librxar.so
ln -s librxar.so.1 lib/librxar.so
gcc -shared -Wl,-soname,libxar.so.1 -o lib/libxar.so.1 lib/archive.o lib/arcmod.o lib/b64.o lib/bzxar.o lib/darwinattr.o lib/data.o lib/ea.o lib/err.o lib/ext2.o lib/fbsdattr.o lib/filetree.o lib/io.o lib/linuxattr.o lib/hash.o lib/signature.o lib/stat.o lib/subdoc.o lib/util.o lib/zxar.o lib/script.o lib/macho.o -lz -lcrypto -lacl  -lxml2
rm -f lib/libxar.so
ln -s libxar.so.1 lib/libxar.so
sed -e s/@LIBXAR_SNAME@/libxar.so.1/ -e s/@LIBXAR_LNAME@/libxar.so/ -e s/@LIBXAR_ANAME@/libxar.a/ < lib/libxar.la.in > lib/libxar.la
gcc -Wall -g  -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c src/xar.c -o src/xar.o
gcc -Wall -g  -o src/xar src/xar.o -Wl,-rpath,/root/Empire/setup/xar-1.5.2/lib -Llib  lib/libxar.a -lz -lcrypto -lacl  -lxml2
gcc -Wall -g  -o src/ixar src/xar.o -Wl,-rpath,/usr/local/lib -Llib  lib/libxar.so.1 -lz -lcrypto -lacl  -lxml2
/usr/bin/install -c -d /usr/local/include/xar
/usr/bin/install -c -m 0644  include/xar.h /usr/local/include/xar
/usr/bin/install -c -d /usr/local/lib
/usr/bin/install -c -m 0755 lib/libxar.so.1 /usr/local/lib
rm -f /usr/local/lib/libxar.so
ln -s libxar.so.1 /usr/local/lib/libxar.so
/usr/bin/install -c -m 0644 lib/libxar.a /usr/local/lib
/usr/bin/install -c -m 0644 lib/libxar.la /usr/local/lib
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c -m 0755 src/ixar /usr/local/bin/xar
/usr/bin/install -c -d /usr/local/man/man1
/usr/bin/install -c -m 0644 src/xar.1 /usr/local/man/man1
fatal: le chemin de destination 'bomutils' existe déjà et n'est pas un répertoire vide.
make: rien à faire pour « all ».
install -d /usr/bin
install -d /usr/share/man/man1
install -m 0755 build/bin/mkbom build/bin/dumpbom build/bin/lsbom build/bin/ls4mkbom /usr/bin
install -m 0644 build/man/mkbom.1.gz build/man/dumpbom.1.gz build/man/lsbom.1.gz build/man/ls4mkbom.1.gz /usr/share/man/man1
install -d /usr/bin
install -d /usr/share/man/man1
install -m 0755 build/bin/mkbom build/bin/dumpbom build/bin/lsbom build/bin/ls4mkbom /usr/bin
install -m 0644 build/man/mkbom.1.gz build/man/dumpbom.1.gz build/man/lsbom.1.gz build/man/ls4mkbom.1.gz /usr/share/man/man1

 [>] Enter server negotiation password, enter for random generation: 123456789
Traceback (most recent call last):
  File "./setup_database.py", line 120, in <module>
    )''')
sqlite3.OperationalError: table "agents" already exists

 [*] Certificate written to ../data/empire-chain.pem
 [*] Private key written to ../data/empire-priv.key


 [*] Setup complete!

root@Kali:~/Empire# 

Any additional information

Same on my system. Kali Rolling freshly installed.

pip install -r requirements.txt

DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting urllib3<1.23,>=1.21.1 (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl
Collecting requests==2.18.4 (from -r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 3)) (40.6.3)
Collecting iptools (from -r requirements.txt (line 4))
Using cached https://files.pythonhosted.org/packages/7c/0b/b8d60db9ba18b386ee95e48bd04f51fccba28680c6e2b49b68b1af4a1c6d/iptools-0.7.0-py2.py3-none-any.whl
Collecting pydispatcher (from -r requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/cd/37/39aca520918ce1935bea9c356bcbb7ed7e52ad4e31bff9b943dfc8e7115b/PyDispatcher-2.0.5.tar.gz
Requirement already satisfied: flask in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 6)) (1.0.2)
Collecting macholib (from -r requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/41/f1/6d23e1c79d68e41eb592338d90a33af813f98f2b04458aaf0b86908da2d8/macholib-1.11-py2.py3-none-any.whl
Collecting dropbox (from -r requirements.txt (line 8))
Using cached https://files.pythonhosted.org/packages/67/ad/c4c18d526bcc55b93c00c516f68c3f353fb5f099c459279d3ed18518bd4c/dropbox-9.3.0-py2-none-any.whl
Collecting pyOpenSSL==17.2.0 (from -r requirements.txt (line 9))
Using cached https://files.pythonhosted.org/packages/41/bd/751560b317222ba6b6d2e7663a990ac36465aaa026621c6057db130e2faf/pyOpenSSL-17.2.0-py2.py3-none-any.whl
Collecting pyinstaller (from -r requirements.txt (line 10))
Using cached https://files.pythonhosted.org/packages/03/32/0e0de593f129bf1d1e77eed562496d154ef4460fd5cecfd78612ef39a0cc/PyInstaller-3.4.tar.gz
Installing build dependencies ... done
Getting requirements to build wheel ... error
Complete output from command /usr/bin/python /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpM5NPSf:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 207, in
main()
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 54, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-yS2Ird/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 115, in get_requires_for_build_wheel
return _get_build_requires(config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-yS2Ird/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 101, in _get_build_requires
_run_setup()
File "/tmp/pip-build-env-yS2Ird/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 85, in _run_setup
exec(compile(code, file, 'exec'), locals())
File "setup.py", line 20, in
from PyInstaller import version as version, HOMEPATH, PLATFORM
ImportError: No module named PyInstaller


Command "/usr/bin/python /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpM5NPSf" failed with error code 1 in /tmp/pip-install-j5ZpHJ/pyinstaller

commented

Pip 19 will not install PyInstaller due to an import issue. Downgrade to pip 18.1 and it should install fine.
Note that the setup/install.sh script tries to upgrade pip before installing python dependencies, so you may want to comment those lines out.

For the libssl 404, a fix has been merged to the dev branch.

Please, the issue is not solved, can you re-open it ?
I installed pip 18.1 and the problem is still here :

root@kali:~/Empire# pip install --force-reinstall pip==18.1
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting pip==18.1
  Using cached https://files.pythonhosted.org/packages/c2/d7/90f34cb0d83a6c5631cf71dfe64cc1054598c843a92b400e55675cc2ac37/pip-18.1-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 19.0.1
    Uninstalling pip-19.0.1:
      Successfully uninstalled pip-19.0.1
Successfully installed pip-18.1


root@kali:~/Empire# ./setup/install.sh 
--2019-02-07 13:19:31--  http://ftp.us.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb
Résolution de ftp.us.debian.org (ftp.us.debian.org)… 64.50.233.100, 208.80.154.15, 64.50.236.52, ...
Connexion à ftp.us.debian.org (ftp.us.debian.org)|64.50.233.100|:80… connecté.
requête HTTP transmise, en attente de la réponse… 404 Not Found
2019-02-07 13:19:31 erreur 404 : Not Found.

dpkg: erreur: cannot access archive 'libssl1.0.0_1.0.1t-1+deb8u7_amd64.deb': Aucun fichier ou dossier de ce type
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
build-essential est déjà la version la plus récente (12.5).
default-jdk est déjà la version la plus récente (2:1.11-71).
g++ est déjà la version la plus récente (4:8.2.0-2).
libssl1.0-dev est déjà la version la plus récente (1.0.2q-2).
libxml2-dev est déjà la version la plus récente (2.9.4+dfsg1-7+b3).
make est déjà la version la plus récente (4.2.1-1.2).
python-dev est déjà la version la plus récente (2.7.15-4).
python-m2crypto est déjà la version la plus récente (0.31.0-2).
python-pip est déjà la version la plus récente (18.1-4).
swig est déjà la version la plus récente (3.0.12-2).
zlib1g-dev est déjà la version la plus récente (1:1.2.11.dfsg-1).
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  libcrypt2 python-argcomplete python-bson python-bson-ext python-gridfs python-pymongo python-pymongo-ext
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 85 non mis à jour.
Collecting pip
  Using cached https://files.pythonhosted.org/packages/46/dc/7fd5df840efb3e56c8b4f768793a237ec4ee59891959d6a215d63f727023/pip-19.0.1-py2.py3-none-any.whl
Installing collected packages: pip
  Found existing installation: pip 18.1
    Uninstalling pip-18.1:
      Successfully uninstalled pip-18.1
Successfully installed pip-19.0.1
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting urllib3<1.23,>=1.21.1 (from -r requirements.txt (line 1))
  Using cached https://files.pythonhosted.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl
Collecting requests==2.18.4 (from -r requirements.txt (line 2))
  Using cached https://files.pythonhosted.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 3)) (40.6.3)
Collecting iptools (from -r requirements.txt (line 4))
  Using cached https://files.pythonhosted.org/packages/7c/0b/b8d60db9ba18b386ee95e48bd04f51fccba28680c6e2b49b68b1af4a1c6d/iptools-0.7.0-py2.py3-none-any.whl
Collecting pydispatcher (from -r requirements.txt (line 5))
  Using cached https://files.pythonhosted.org/packages/cd/37/39aca520918ce1935bea9c356bcbb7ed7e52ad4e31bff9b943dfc8e7115b/PyDispatcher-2.0.5.tar.gz
Requirement already satisfied: flask in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 6)) (1.0.2)
Collecting macholib (from -r requirements.txt (line 7))
  Using cached https://files.pythonhosted.org/packages/41/f1/6d23e1c79d68e41eb592338d90a33af813f98f2b04458aaf0b86908da2d8/macholib-1.11-py2.py3-none-any.whl
Collecting dropbox (from -r requirements.txt (line 8))
  Using cached https://files.pythonhosted.org/packages/67/ad/c4c18d526bcc55b93c00c516f68c3f353fb5f099c459279d3ed18518bd4c/dropbox-9.3.0-py2-none-any.whl
Collecting pyOpenSSL==17.2.0 (from -r requirements.txt (line 9))
  Using cached https://files.pythonhosted.org/packages/41/bd/751560b317222ba6b6d2e7663a990ac36465aaa026621c6057db130e2faf/pyOpenSSL-17.2.0-py2.py3-none-any.whl
Collecting pyinstaller (from -r requirements.txt (line 10))
  Using cached https://files.pythonhosted.org/packages/03/32/0e0de593f129bf1d1e77eed562496d154ef4460fd5cecfd78612ef39a0cc/PyInstaller-3.4.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  Complete output from command /usr/bin/python /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpMXh9jK:
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 207, in <module>
      main()
    File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 197, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 54, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/tmp/pip-build-env-lfUZX3/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 130, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
    File "/tmp/pip-build-env-lfUZX3/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 112, in _get_build_requires
      self.run_setup()
    File "/tmp/pip-build-env-lfUZX3/overlay/lib/python2.7/site-packages/setuptools/build_meta.py", line 126, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 20, in <module>
      from PyInstaller import __version__ as version, HOMEPATH, PLATFORM
  ImportError: No module named PyInstaller
  
  ----------------------------------------
Command "/usr/bin/python /usr/local/lib/python2.7/dist-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpMXh9jK" failed with error code 1 in /tmp/pip-install-bH3Un8/pyinstaller
DISTRIB_ID=Kali
DISTRIB_RELEASE=kali-rolling
DISTRIB_CODENAME=kali-rolling
DISTRIB_DESCRIPTION="Kali GNU/Linux Rolling"
Atteint:1 https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch InRelease
Atteint:2 http://ftp.free.fr/pub/kali kali-rolling InRelease
Lecture des listes de paquets... Fait
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
apt-transport-https est déjà la version la plus récente (1.8.0~beta1).
curl est déjà la version la plus récente (7.63.0-1).
gnupg est déjà la version la plus récente (2.2.12-1).
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  libcrypt2 python-argcomplete python-bson python-bson-ext python-gridfs python-pymongo python-pymongo-ext
Veuillez utiliser « apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 85 non mis à jour.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   983  100   983    0     0   6424      0 --:--:-- --:--:-- --:--:--  6424
OK
Atteint:1 https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch InRelease
Atteint:2 http://ftp.free.fr/pub/kali kali-rolling InRelease
Lecture des listes de paquets... Fait       
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation : 

Les paquets suivants contiennent des dépendances non satisfaites :
 powershell : Dépend: libicu57 mais il n'est pas installable
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
ls: impossible d'accéder à '/opt/microsoft/powershell/*/DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY': Aucun fichier ou dossier de ce type
xar-1.5.2/
xar-1.5.2/lib/
xar-1.5.2/lib/fbsdattr.c
xar-1.5.2/lib/filetree.h
xar-1.5.2/lib/stat.c
xar-1.5.2/lib/hash.c
xar-1.5.2/lib/ext2.h
xar-1.5.2/lib/darwinattr.h
xar-1.5.2/lib/libxar.la.in.in
xar-1.5.2/lib/archive.c
xar-1.5.2/lib/subdoc.c
xar-1.5.2/lib/script.c
xar-1.5.2/lib/script.h
xar-1.5.2/lib/arcmod.c
xar-1.5.2/lib/arcmod.h
xar-1.5.2/lib/b64.c
xar-1.5.2/lib/subdoc.h
xar-1.5.2/lib/filetree.c
xar-1.5.2/lib/bzxar.c
xar-1.5.2/lib/ext2.c
xar-1.5.2/lib/fbsdattr.h
xar-1.5.2/lib/linuxattr.c
xar-1.5.2/lib/macho.c
xar-1.5.2/lib/ea.h
xar-1.5.2/lib/appledouble.h
xar-1.5.2/lib/darwinattr.c
xar-1.5.2/lib/util.h
xar-1.5.2/lib/util.c
xar-1.5.2/lib/hash.h
xar-1.5.2/lib/zxar.c
xar-1.5.2/lib/data.h
xar-1.5.2/lib/zxar.h
xar-1.5.2/lib/signature.h
xar-1.5.2/lib/bzxar.h
xar-1.5.2/lib/macho.h
xar-1.5.2/lib/signature.c
xar-1.5.2/lib/b64.h
xar-1.5.2/lib/err.c
xar-1.5.2/lib/asprintf.h
xar-1.5.2/lib/stat.h
xar-1.5.2/lib/io.h
xar-1.5.2/lib/linuxattr.h
xar-1.5.2/lib/io.c
xar-1.5.2/lib/ea.c
xar-1.5.2/lib/archive.h
xar-1.5.2/lib/data.c
xar-1.5.2/lib/Makefile.inc.in
xar-1.5.2/cfgoutputs.stamp.in
xar-1.5.2/cfghdrs.stamp.in
xar-1.5.2/config.guess
xar-1.5.2/INSTALL
xar-1.5.2/include/
xar-1.5.2/include/config.h.in
xar-1.5.2/include/xar.h.in
xar-1.5.2/configure
xar-1.5.2/test/
xar-1.5.2/test/checksums
xar-1.5.2/test/functions
xar-1.5.2/test/attr
xar-1.5.2/test/data.xsl
xar-1.5.2/test/buffer.c
xar-1.5.2/test/compression
xar-1.5.2/test/heap1.xsl
xar-1.5.2/test/data
xar-1.5.2/test/heap
xar-1.5.2/test/hardlink
xar-1.5.2/test/validate.c
xar-1.5.2/LICENSE
xar-1.5.2/Makefile.in
xar-1.5.2/src/
xar-1.5.2/src/xar.1
xar-1.5.2/src/xar.c
xar-1.5.2/src/Makefile.inc.in
xar-1.5.2/TODO
xar-1.5.2/configure.ac
xar-1.5.2/xar.spec.in
xar-1.5.2/Mk/
xar-1.5.2/config.sub
xar-1.5.2/install-sh
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for ld... /usr/bin/ld
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking for autoconf... /usr/bin/autoconf
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ext2fs/ext2_fs.h usability... no
checking ext2fs/ext2_fs.h presence... no
checking for ext2fs/ext2_fs.h... no
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for lgetxattr... yes
checking for lsetxattr... yes
checking for getxattr... yes
checking for setxattr... yes
checking for getattrlist... no
checking for setattrlist... no
checking for lchmod... no
checking for lchown... yes
checking for chflags... no
checking for statvfs... yes
checking for statfs... yes
checking for strmode... no
checking for struct statfs.f_fstypename... no
checking for struct statvfs.f_fstypename... no
checking for struct stat.st_flags... no
checking for uid_t... yes
checking size of uid_t... 4
checking for gid_t... yes
checking size of gid_t... 4
checking for ino_t... yes
checking size of ino_t... 8
checking for dev_t... yes
checking size of dev_t... 8
checking for acl_get_file in -lacl... no
checking for asprintf... yes
checking for xml2-config... /usr/bin/xml2-config
checking for libxml >= 2.6.11... 2.9.4
checking libxml/xmlwriter.h usability... yes
checking libxml/xmlwriter.h presence... yes
checking for libxml/xmlwriter.h... yes
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking for OpenSSL_add_all_ciphers in -lcrypto... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking bzlib.h usability... no
checking bzlib.h presence... no
checking for bzlib.h... no
checking for BZ2_bzCompress in -lbz2... no
configure: creating ./config.status
config.status: creating cfgoutputs.stamp
config.status: creating Makefile
config.status: creating include/xar.h
config.status: creating lib/Makefile.inc
config.status: creating lib/libxar.la.in
config.status: creating src/Makefile.inc
config.status: creating xar.spec
config.status: creating cfghdrs.stamp
config.status: cfghdrs.stamp is unchanged
config.status: creating include/config.h
config.status: include/config.h is unchanged
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/archive.c -o lib/archive.o
lib/archive.c: In function ‘xar_close’:
lib/archive.c:310:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  int ret, retval = 0;
      ^~~
lib/archive.c: In function ‘xar_unserialize’:
lib/archive.c:1312:12: warning: variable ‘noattr’ set but not used [-Wunused-but-set-variable]
  int type, noattr, ret;
            ^~~~~~
lib/archive.c:1311:33: warning: variable ‘uri’ set but not used [-Wunused-but-set-variable]
  const xmlChar *name, *prefix, *uri;
                                 ^~~
lib/archive.c:1311:24: warning: variable ‘prefix’ set but not used [-Wunused-but-set-variable]
  const xmlChar *name, *prefix, *uri;
                        ^~~~~~
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/arcmod.c -o lib/arcmod.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/bzxar.c -o lib/bzxar.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/darwinattr.c -o lib/darwinattr.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/data.c -o lib/data.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ea.c -o lib/ea.o
lib/ea.c: In function ‘xar_ea_new’:
lib/ea.c:42:78: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
  asprintf((char **)&XAR_ATTR(XAR_PROP(XAR_EA(ret)->prop)->attrs)->value, "%lld", XAR_FILE(f)->nexteaid++);
                                                                           ~~~^
                                                                           %ld
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/err.c -o lib/err.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/ext2.c -o lib/ext2.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/fbsdattr.c -o lib/fbsdattr.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/filetree.c -o lib/filetree.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/io.c -o lib/io.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/linuxattr.c -o lib/linuxattr.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/hash.c -o lib/hash.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/signature.c -o lib/signature.o
lib/signature.c: In function ‘xar_signature_serialize’:
lib/signature.c:384:44: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int32_t’ {aka ‘int’} [-Wformat=]
  xmlTextWriterWriteFormatString(writer, "%ld", (XAR_SIGNATURE(sig)->len));
                                          ~~^   ~~~~~~~~~~~~~~~~~~~~~~~~~
                                          %d
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/stat.c -o lib/stat.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/subdoc.c -o lib/subdoc.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/util.c -o lib/util.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/zxar.c -o lib/zxar.o
lib/zxar.c: In function ‘xar_gzip_toheap_in’:
lib/zxar.c:161:6: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
  int r;
      ^
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/script.c -o lib/script.o
gcc -Wall -g  -fPIC -DPIC -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c lib/macho.c -o lib/macho.o
gcc -shared -Wl,-soname,libxar.so.1 -o lib/librxar.so.1 lib/archive.o lib/arcmod.o lib/b64.o lib/bzxar.o lib/darwinattr.o lib/data.o lib/ea.o lib/err.o lib/ext2.o lib/fbsdattr.o lib/filetree.o lib/io.o lib/linuxattr.o lib/hash.o lib/signature.o lib/stat.o lib/subdoc.o lib/util.o lib/zxar.o lib/script.o lib/macho.o -lz -lcrypto  -lxml2
rm -f lib/librxar.so
ln -s librxar.so.1 lib/librxar.so
gcc -shared -Wl,-soname,libxar.so.1 -o lib/libxar.so.1 lib/archive.o lib/arcmod.o lib/b64.o lib/bzxar.o lib/darwinattr.o lib/data.o lib/ea.o lib/err.o lib/ext2.o lib/fbsdattr.o lib/filetree.o lib/io.o lib/linuxattr.o lib/hash.o lib/signature.o lib/stat.o lib/subdoc.o lib/util.o lib/zxar.o lib/script.o lib/macho.o -lz -lcrypto  -lxml2
rm -f lib/libxar.so
ln -s libxar.so.1 lib/libxar.so
sed -e s/@LIBXAR_SNAME@/libxar.so.1/ -e s/@LIBXAR_LNAME@/libxar.so/ -e s/@LIBXAR_ANAME@/libxar.a/ < lib/libxar.la.in > lib/libxar.la
gcc -Wall -g  -Iinclude -Iinclude -D_GNU_SOURCE -I/usr/include/libxml2 -c src/xar.c -o src/xar.o
gcc -Wall -g  -o src/xar src/xar.o -Wl,-rpath,/root/Empire/setup/xar-1.5.2/lib -Llib  lib/libxar.a -lz -lcrypto  -lxml2
gcc -Wall -g  -o src/ixar src/xar.o -Wl,-rpath,/usr/local/lib -Llib  lib/libxar.so.1 -lz -lcrypto  -lxml2
/usr/bin/install -c -d /usr/local/include/xar
/usr/bin/install -c -m 0644  include/xar.h /usr/local/include/xar
/usr/bin/install -c -d /usr/local/lib
/usr/bin/install -c -m 0755 lib/libxar.so.1 /usr/local/lib
rm -f /usr/local/lib/libxar.so
ln -s libxar.so.1 /usr/local/lib/libxar.so
/usr/bin/install -c -m 0644 lib/libxar.a /usr/local/lib
/usr/bin/install -c -m 0644 lib/libxar.la /usr/local/lib
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c -m 0755 src/ixar /usr/local/bin/xar
/usr/bin/install -c -d /usr/local/man/man1
/usr/bin/install -c -m 0644 src/xar.1 /usr/local/man/man1
fatal: le chemin de destination 'bomutils' existe déjà et n'est pas un répertoire vide.
make: rien à faire pour « all ».
install -d /usr/bin
install -d /usr/share/man/man1
install -m 0755 build/bin/mkbom build/bin/dumpbom build/bin/lsbom build/bin/ls4mkbom /usr/bin
install -m 0644 build/man/mkbom.1.gz build/man/dumpbom.1.gz build/man/lsbom.1.gz build/man/ls4mkbom.1.gz /usr/share/man/man1
install -d /usr/bin
install -d /usr/share/man/man1
install -m 0755 build/bin/mkbom build/bin/dumpbom build/bin/lsbom build/bin/ls4mkbom /usr/bin
install -m 0644 build/man/mkbom.1.gz build/man/dumpbom.1.gz build/man/lsbom.1.gz build/man/ls4mkbom.1.gz /usr/share/man/man1

 [>] Enter server negotiation password, enter for random generation: TOOR
Traceback (most recent call last):
  File "./setup_database.py", line 120, in <module>
    )''')
sqlite3.OperationalError: table "agents" already exists

 [*] Certificate written to ../data/empire-chain.pem
 [*] Private key written to ../data/empire-priv.key


 [*] Setup complete!



root@kali:~/Empire# ./empire 
Traceback (most recent call last):
  File "./empire", line 13, in <module>
    from lib.common import empire, helpers
  File "/root/Empire/lib/common/__init__.py", line 8, in <module>
    import helpers
  File "/root/Empire/lib/common/helpers.py", line 50, in <module>
    import iptools
ImportError: No module named iptools


commented

As I said in my previous comment, the install script tries to upgrade pip, so you'll need to comment out or remove those lines.

I'd recommend switching to the dev branch, as I've fixed a bunch of install issues there

Hi,
worked for me:
pip install --force-reinstall pip==18.1

Then edit /setup/install.sh.
Be sure to comment out all 4 lines with pip install --upgrade pip (yes, there are four - I don't know which is the correct one, I just commented them all out).
Install worked afterwards.

Had to run ./reset.sh as well to start empire.

By the way, Afterwards I upgraded pip to 19 without any negative effect ...

I just switched to the branch dev and the problem is sovled.