└─$ git clone https://github.com/e-m-b-a/embark.git Cloning into 'embark'... remote: Enumerating objects: 7737, done. remote: Counting objects: 100% (2162/2162), done. remote: Compressing objects: 100% (598/598), done. remote: Total 7737 (delta 1580), reused 2075 (delta 1544), pack-reused 5575 Receiving objects: 100% (7737/7737), 33.28 MiB | 24.15 MiB/s, done. Resolving deltas: 100% (4745/4745), done. ┌──(vagrant㉿EMBAbox)-[~] └─$ cd embark ┌──(vagrant㉿EMBAbox)-[~/embark] └─$ sudo ./installer.sh -d EMBArk Installer ================================================================= WARNING: This script can harm your environment! Default installation of EMBArk Install debian packages for EMBArk installation Get:1 http://ftp.belnet.be/pub/kali/kali kali-rolling InRelease [30.6 kB] Ign:2 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease Get:3 http://ftp.belnet.be/pub/kali/kali kali-rolling/main amd64 Packages [18.3 MB] Hit:4 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release Get:6 http://ftp.belnet.be/pub/kali/kali kali-rolling/main amd64 Contents (deb) [42.1 MB] Get:7 http://ftp.belnet.be/pub/kali/kali kali-rolling/non-free amd64 Packages [214 kB] Get:8 http://ftp.belnet.be/pub/kali/kali kali-rolling/non-free amd64 Contents (deb) [1007 kB] Get:9 http://ftp.belnet.be/pub/kali/kali kali-rolling/contrib amd64 Packages [115 kB] Get:10 http://ftp.belnet.be/pub/kali/kali kali-rolling/contrib amd64 Contents (deb) [156 kB] Fetched 61.9 MB in 7s (8840 kB/s) Reading package lists... Done Reading package lists... Building dependency tree... Reading state information... python3-django is already the newest version (2:3.2.13-1). python3-pip is already the newest version (22.0.2+dfsg-1). python3.9-dev is already the newest version (3.9.12-1). The following packages were automatically installed and are no longer required: engrampa-common libtbb2 numba-doc python3-llvmlite ruby2.7 Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 903 not upgraded. Installation of the firmware scanner EMBA on host Submodule 'EMBA' (https://github.com/e-m-b-a/emba.git) registered for path 'emba' Cloning into '/home/vagrant/embark/emba'... Submodule path 'emba': checked out '3c87a60d077a95d57dc95e0ca4f5a30d3f38eb78' EMBA - Embedded Linux Analyzer Installer ================================================================= ==> Imported 23 installer module files Install all dependecies for EMBA in default/docker mode Created external directory: ./external Update package lists. Hit:1 http://ftp.belnet.be/pub/kali/kali kali-rolling InRelease Ign:2 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease Hit:3 https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 Release Reading package lists... Done [+] I01_default_apps_host ================================================================= To use EMBA, some applications must be installed and some data (database for CVS for example) downloaded and parsed. These applications will be installed/updated: jq Description: lightweight and flexible command-line JSON processor Download-Size: 64.9 kB jq won't be updated. shellcheck Description: lint tool for shell scripts Download-Size: 2162 kB shellcheck won't be updated. unzip Description: De-archiver for .zip files Download-Size: 171 kB unzip won't be updated. docker-compose Description: define and run multi-container Docker applications with YAML Download-Size: 124 kB docker-compose won't be updated. bc Description: GNU bc arbitrary precision calculator language Download-Size: 110 kB bc won't be updated. coreutils Description: GNU core utilities Download-Size: 2854 kB coreutils won't be updated. ncurses-bin Description: terminal-related programs and man pages Download-Size: 441 kB ncurses-bin won't be updated. git Description: fast, scalable, distributed revision control system Download-Size: 5796 kB git won't be updated. net-tools Description: NET-3 networking toolkit Download-Size: 250 kB net-tools won't be updated. curl Description: command line tool for transferring data with URL syntax Download-Size: 286 kB curl won't be updated. These applications will be installed/updated! Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: engrampa-common libtbb2 numba-doc python3-llvmlite ruby2.7 Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 903 not upgraded. /usr/local/lib/python3.10/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish, Traceback (most recent call last): File "/usr/bin/docker-compose", line 33, in sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')()) File "/usr/bin/docker-compose", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load module = import_module(match.group('module')) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 16, in from . import errors File "/usr/lib/python3/dist-packages/compose/cli/errors.py", line 14, in from .utils import binarystr_to_unicode File "/usr/lib/python3/dist-packages/compose/cli/utils.py", line 8, in import distro ModuleNotFoundError: No module named 'distro' ------------------------------------------------------------------------------------------------ Error detected - status code 1 Command: echo -e "Command: $ORANGE$BASH_COMMAND$NC" Location: ./installer.sh, line 146 Stack Trace: [1] main(): ./installer.sh, line 146 -> main -d Important: Consider filling out a bug report at https://github.com/e-m-b-a/emba/issues ------------------------------------------------------------------------------------------------ cp: cannot stat './config/emba_updater': No such file or directory Installation of the firmware scanning environment EMBArk Reading package lists... Building dependency tree... Reading state information... build-essential is already the newest version (12.9). default-libmysqlclient-dev is already the newest version (1.0.8). python3-dev is already the newest version (3.10.4-1+b1). The following packages were automatically installed and are no longer required: engrampa-common libtbb2 numba-doc python3-llvmlite ruby2.7 Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 903 not upgraded. Requirement already satisfied: pipenv in /usr/local/lib/python3.10/dist-packages (2022.5.2) Requirement already satisfied: certifi in /usr/local/lib/python3.10/dist-packages (from pipenv) (2021.10.8) Requirement already satisfied: virtualenv in /usr/local/lib/python3.10/dist-packages (from pipenv) (20.14.1) Requirement already satisfied: virtualenv-clone>=0.2.5 in /usr/local/lib/python3.10/dist-packages (from pipenv) (0.5.7) Requirement already satisfied: pip>=22.0.4 in /usr/local/lib/python3.10/dist-packages (from pipenv) (22.1) Requirement already satisfied: setuptools>=36.2.1 in /usr/lib/python3/dist-packages (from pipenv) (59.6.0) Requirement already satisfied: platformdirs<3,>=2 in /usr/local/lib/python3.10/dist-packages (from virtualenv->pipenv) (2.5.2) Requirement already satisfied: distlib<1,>=0.3.1 in /usr/local/lib/python3.10/dist-packages (from virtualenv->pipenv) (0.3.4) Requirement already satisfied: six<2,>=1.9.0 in /usr/local/lib/python3.10/dist-packages (from virtualenv->pipenv) (1.16.0) Requirement already satisfied: filelock<4,>=3.2 in /usr/local/lib/python3.10/dist-packages (from virtualenv->pipenv) (3.6.0) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv useradd: user 'www-embark' already exists www-embark ALL=(ALL) NOPASSWD: /app/emba/emba.sh Install embark daemon ln: failed to create symbolic link '/etc/systemd/system/embark.service': File exists Creating SSL Cert Generating RSA private key, 4096 bit long modulus (2 primes) ..............................................++++ ...........................++++ e is 65537 (0x010001) Generating RSA private key, 2048 bit long modulus (2 primes) ...........................................................+++++ ..................+++++ e is 65537 (0x010001) Generating RSA private key, 2048 bit long modulus (2 primes) ........................................+++++ ..................+++++ e is 65537 (0x010001) Signature ok subject=CN = embark.local, O = EMBA, C = US Getting CA Private Key Signature ok subject=CN = embark-ws.local, O = EMBA, C = US Getting CA Private Key Install hostnames for local dns-resolve /usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.16.0-unknown is an invalid version and will not be supported in a future release warnings.warn( /usr/lib/python3/dist-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 1.12.1-git20200711.33e2d80-dfsg1-0.6 is an invalid version and will not be supported in a future release warnings.warn( Creating a virtualenv for this project... Pipfile: /home/vagrant/embark/Pipfile Using /usr/bin/python3.9 (3.9.12) to create virtualenv... ⠦ Creating virtual environment...created virtual environment CPython3.9.12.final.0-64 in 382ms creator CPython3Posix(dest=/home/vagrant/embark/.venv, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv) added seed packages: pip==22.0.4, setuptools==62.1.0, wheel==0.37.1 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator ✔ Successfully created virtual environment! Virtualenv location: /home/vagrant/embark/.venv Installing dependencies from Pipfile.lock (5dc0df)... An error occurred while installing autobahn==22.4.2; python_version >= '3.7' --hash=sha256:57b7acf228d50d83cf327372b889e2a168a869275b26e17917ed0b4cf4d823a6! Will try again. 🐍 ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 45/45 — 00:03:29 Installing initially failed dependencies... ☤ ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 1/1 — 00:00:06 To activate this project's virtualenv, run pipenv shell. Alternatively, run a command inside the virtualenv with pipenv run. Downloading of external files, e.g. jQuery, for the offline usability of EMBArk --2022-05-17 05:24:53-- https://code.jquery.com/jquery-3.6.0.min.js Resolving code.jquery.com (code.jquery.com)... 69.16.175.10, 69.16.175.42, 2001:4de0:ac18::1:a:2b, ... Connecting to code.jquery.com (code.jquery.com)|69.16.175.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 89501 (87K) [application/javascript] Saving to: './embark/static/external/scripts/jquery.js' ./embark/static/external/scripts/jquery.js 100%[======================================================================================================================>] 87.40K --.-KB/s in 0.005s 2022-05-17 05:24:53 (18.4 MB/s) - './embark/static/external/scripts/jquery.js' saved [89501/89501] --2022-05-17 05:24:53-- https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.js Resolving cdnjs.cloudflare.com (cdnjs.cloudflare.com)... 104.17.24.14, 104.17.25.14, 2606:4700::6811:190e, ... Connecting to cdnjs.cloudflare.com (cdnjs.cloudflare.com)|104.17.24.14|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/javascript] Saving to: './embark/static/external/scripts/confirm.js' ./embark/static/external/scripts/confirm.js [ <=> ] 27.24K --.-KB/s in 0s 2022-05-17 05:24:53 (59.6 MB/s) - './embark/static/external/scripts/confirm.js' saved [27896] --2022-05-17 05:24:53-- https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js Resolving cdn.jsdelivr.net (cdn.jsdelivr.net)... 104.16.88.20, 104.16.85.20, 104.16.87.20, ... Connecting to cdn.jsdelivr.net (cdn.jsdelivr.net)|104.16.88.20|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/javascript] Saving to: './embark/static/external/scripts/bootstrap.js' ./embark/static/external/scripts/bootstrap.js [ <=> ] 77.02K --.-KB/s in 0.002s 2022-05-17 05:24:53 (35.1 MB/s) - './embark/static/external/scripts/bootstrap.js' saved [78871] --2022-05-17 05:24:53-- https://cdn.datatables.net/v/bs5/dt-1.11.2/datatables.min.js Resolving cdn.datatables.net (cdn.datatables.net)... 104.22.50.93, 172.67.14.139, 104.22.51.93, ... Connecting to cdn.datatables.net (cdn.datatables.net)|104.22.50.93|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/javascript] Saving to: './embark/static/external/scripts/datatable.js' ./embark/static/external/scripts/datatable.js [ <=> ] 90.00K --.-KB/s in 0.03s 2022-05-17 05:24:53 (3.04 MB/s) - './embark/static/external/scripts/datatable.js' saved [92156] --2022-05-17 05:24:53-- https://cdn.jsdelivr.net/npm/chart.js@3.5.1/dist/chart.min.js Resolving cdn.jsdelivr.net (cdn.jsdelivr.net)... 104.16.88.20, 104.16.85.20, 104.16.87.20, ... Connecting to cdn.jsdelivr.net (cdn.jsdelivr.net)|104.16.88.20|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/javascript] Saving to: './embark/static/external/scripts/charts.js' ./embark/static/external/scripts/charts.js [ <=> ] 183.95K --.-KB/s in 0.005s 2022-05-17 05:24:54 (35.8 MB/s) - './embark/static/external/scripts/charts.js' saved [188369] --2022-05-17 05:24:54-- https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.css Resolving cdnjs.cloudflare.com (cdnjs.cloudflare.com)... 104.17.25.14, 104.17.24.14, 2606:4700::6811:180e, ... Connecting to cdnjs.cloudflare.com (cdnjs.cloudflare.com)|104.17.25.14|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/css] Saving to: './embark/static/external/css/confirm.css' ./embark/static/external/css/confirm.css [ <=> ] 22.01K --.-KB/s in 0s 2022-05-17 05:24:54 (139 MB/s) - './embark/static/external/css/confirm.css' saved [22538] --2022-05-17 05:24:54-- https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css Resolving cdn.jsdelivr.net (cdn.jsdelivr.net)... 104.16.88.20, 104.16.85.20, 104.16.87.20, ... Connecting to cdn.jsdelivr.net (cdn.jsdelivr.net)|104.16.88.20|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/css] Saving to: './embark/static/external/css/bootstrap.css' ./embark/static/external/css/bootstrap.css [ <=> ] 158.95K --.-KB/s in 0.005s 2022-05-17 05:24:54 (28.4 MB/s) - './embark/static/external/css/bootstrap.css' saved [162764] --2022-05-17 05:24:54-- https://cdn.datatables.net/v/bs5/dt-1.11.2/datatables.min.css Resolving cdn.datatables.net (cdn.datatables.net)... 104.22.51.93, 172.67.14.139, 104.22.50.93, ... Connecting to cdn.datatables.net (cdn.datatables.net)|104.22.51.93|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/css] Saving to: './embark/static/external/css/datatable.css' ./embark/static/external/css/datatable.css [ <=> ] 8.05K --.-KB/s in 0s 2022-05-17 05:24:54 (77.2 MB/s) - './embark/static/external/css/datatable.css' saved [8246] Creating a EMBArk configuration file .env /usr/local/lib/python3.10/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish, Traceback (most recent call last): File "/usr/bin/docker-compose", line 33, in sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')()) File "/usr/bin/docker-compose", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 171, in load module = import_module(match.group('module')) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 16, in from . import errors File "/usr/lib/python3/dist-packages/compose/cli/errors.py", line 14, in from .utils import binarystr_to_unicode File "/usr/lib/python3/dist-packages/compose/cli/utils.py", line 8, in import distro ModuleNotFoundError: No module named 'distro'