From 05ca41af568cf097180f58de537f2d049ebca400 Mon Sep 17 00:00:00 2001 From: n1nj4sec Date: Mon, 18 Sep 2017 23:36:16 +0200 Subject: [PATCH] fix linux build : openssl broken link --- client/gen_library_compressed_string.py | 2 +- client/sources-linux/buildenv.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/gen_library_compressed_string.py b/client/gen_library_compressed_string.py index 78c93d9a..948b2f4d 100644 --- a/client/gen_library_compressed_string.py +++ b/client/gen_library_compressed_string.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- import StringIO, zipfile, os.path, imp, sys, os import marshal -import pylzma +#import pylzma import struct def get_encoded_library_string(filepath): diff --git a/client/sources-linux/buildenv.sh b/client/sources-linux/buildenv.sh index 41d4bbb2..92877b64 100755 --- a/client/sources-linux/buildenv.sh +++ b/client/sources-linux/buildenv.sh @@ -4,7 +4,7 @@ export PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/sbin:$HOME/ export XID=`id -u` # VERSIONS /MAY/ BE UPDATED (In case of vulnerabilites) -OPENSSL_SRC="http://http.debian.net/debian/pool/main/o/openssl/openssl_1.0.2k.orig.tar.gz" +OPENSSL_SRC="http://cdn-fastly.deb.debian.org/debian/pool/main/o/openssl/openssl_1.0.2l.orig.tar.gz" ZLIB_SRC="http://zlib.net/zlib-1.2.11.tar.gz" SQLITE_SRC="http://www.sqlite.org/2016/sqlite-autoconf-3150200.tar.gz" LIBFFI_SRC="http://http.debian.net/debian/pool/main/libf/libffi/libffi_3.2.1.orig.tar.gz" @@ -32,7 +32,7 @@ if [ ! -d buildenv/downloads ]; then "$DBUS_SRC" "$DBUS_GLIB_SRC" "$GOBJECT_INTROSPECTION" \ "$PYGOBJECT" "$DBUS_PYTHON" "$M4_SRC" "$AUTOCONF_SRC" \ "$AUTOMAKE_SRC" ; do - wget -qc "$bin" + wget -c "$bin" done cd - @@ -284,7 +284,7 @@ python -OO -m pip install -q six packaging appdirs python -OO -m pip install -q \ rpyc pycryptodome pyaml rsa netaddr tinyec pyyaml ecdsa \ paramiko pylzma pydbus python-ptrace psutil scandir \ - scapy impacket colorama pyOpenSSL pylzma \ + scapy impacket colorama pyOpenSSL \ --no-binary :all: /bin/sh -c "apt-get --force-yes -y remove m4 << /dev/null" @@ -564,7 +564,7 @@ CC=/gccwrap CFLAGS_FILTER="-Wno-error=sign-conversion" \ python -OO -m pip install -q \ rpyc pycryptodome pyaml rsa netaddr tinyec pyyaml ecdsa \ paramiko pylzma pydbus python-ptrace psutil scandir \ - scapy impacket colorama pyOpenSSL pylzma \ + scapy impacket colorama pyOpenSSL \ --no-binary :all: /bin/sh -c "apt-get --force-yes -y remove m4 << /dev/null"