Errors from installation:
unning BYOB app startup...
Confirmed Python is installed.
Installing Docker...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
bridge-utils cgroupfs-mount containerd pigz runc ubuntu-fan
Suggested packages:
ifupdown aufs-tools btrfs-progs debootstrap docker-doc rinse zfs-fuse | zfsutils
The following NEW packages will be installed:
bridge-utils cgroupfs-mount containerd docker.io pigz runc ubuntu-fan
0 upgraded, 7 newly installed, 0 to remove and 26 not upgraded.
Need to get 69.3 MB of archives.
After this operation, 333 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 pigz amd64 2.4-1 [57.4 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu focal/main amd64 bridge-utils amd64 1.6-2ubuntu1 [30.5 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 cgroupfs-mount all 1.4 [6,320 B]
Get:4 http://us.archive.ubuntu.com/ubuntu focal/main amd64 runc amd64 1.0.0~rc10-0ubuntu1 [2,549 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu focal/main amd64 containerd amd64 1.3.3-0ubuntu2 [27.8 MB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal/universe amd64 docker.io amd64 19.03.8-0ubuntu1 [38.9 MB]
Get:7 http://us.archive.ubuntu.com/ubuntu focal/main amd64 ubuntu-fan all 0.12.13 [34.5 kB]
Fetched 69.3 MB in 7min 39s (151 kB/s)
Preconfiguring packages ...
Selecting previously unselected package pigz.
(Reading database ... 186693 files and directories currently installed.)
Preparing to unpack .../0-pigz_2.4-1_amd64.deb ...
Unpacking pigz (2.4-1) ...
Selecting previously unselected package bridge-utils.
Preparing to unpack .../1-bridge-utils_1.6-2ubuntu1_amd64.deb ...
Unpacking bridge-utils (1.6-2ubuntu1) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../2-cgroupfs-mount_1.4_all.deb ...
Unpacking cgroupfs-mount (1.4) ...
Selecting previously unselected package runc.
Preparing to unpack .../3-runc_1.0.0~rc10-0ubuntu1_amd64.deb ...
Unpacking runc (1.0.0~rc10-0ubuntu1) ...
Selecting previously unselected package containerd.
Preparing to unpack .../4-containerd_1.3.3-0ubuntu2_amd64.deb ...
Unpacking containerd (1.3.3-0ubuntu2) ...
Selecting previously unselected package docker.io.
Preparing to unpack .../5-docker.io_19.03.8-0ubuntu1_amd64.deb ...
Unpacking docker.io (19.03.8-0ubuntu1) ...
Selecting previously unselected package ubuntu-fan.
Preparing to unpack .../6-ubuntu-fan_0.12.13_all.deb ...
Unpacking ubuntu-fan (0.12.13) ...
Setting up runc (1.0.0~rc10-0ubuntu1) ...
Setting up bridge-utils (1.6-2ubuntu1) ...
Setting up pigz (2.4-1) ...
Setting up cgroupfs-mount (1.4) ...
Setting up containerd (1.3.3-0ubuntu2) ...
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service.
Setting up ubuntu-fan (0.12.13) ...
Created symlink /etc/systemd/system/multi-user.target.wants/ubuntu-fan.service → /lib/systemd/system/ubuntu-fan.service.
Setting up docker.io (19.03.8-0ubuntu1) ...
Adding group `docker' (GID 133) ...
Done.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
docker.service is a disabled or a static unit, not starting it.
Processing triggers for systemd (245.4-4ubuntu3.1) ...
Processing triggers for man-db (2.9.1-1) ...
Installing Python packages...
Ignoring pypiwin32: markers 'sys_platform == "win32"' don't match your environment
Ignoring pyHook: markers 'sys_platform == "win32"' don't match your environment
Collecting flask
Downloading Flask-1.1.2-py2.py3-none-any.whl (94 kB)
|████████████████████████████████| 94 kB 199 kB/s
Collecting flask_session
Downloading Flask_Session-0.3.2-py2.py3-none-any.whl (7.4 kB)
Collecting flask_wtf
Downloading Flask_WTF-0.14.3-py2.py3-none-any.whl (13 kB)
Collecting Flask_SQLAlchemy
Downloading Flask_SQLAlchemy-2.4.3-py2.py3-none-any.whl (17 kB)
Collecting Flask_Login
Downloading Flask_Login-0.5.0-py2.py3-none-any.whl (16 kB)
Collecting Flask_Bcrypt
Downloading Flask-Bcrypt-0.7.1.tar.gz (5.1 kB)
Collecting flask_mail
Downloading Flask-Mail-0.9.1.tar.gz (45 kB)
|████████████████████████████████| 45 kB 1.6 MB/s
Collecting wtforms
Downloading WTForms-2.3.1-py2.py3-none-any.whl (169 kB)
|████████████████████████████████| 169 kB 2.1 MB/s
Collecting mss==3.3.0
Downloading mss-3.3.0-py2.py3-none-any.whl (19 kB)
Collecting WMI==1.4.9
Downloading WMI-1.4.9.zip (26 kB)
Collecting numpy==1.15.2
Downloading numpy-1.15.2.zip (4.5 MB)
|████████████████████████████████| 4.5 MB 1.6 MB/s
Collecting pyxhook==1.0.0
Downloading pyxhook-1.0.0.tar.gz (4.3 kB)
Downloading pyxhook-1.0.0.tar.gz (4.3 kB)
Collecting twilio==6.14.0
Downloading twilio-6.14.0-py2.py3-none-any.whl (821 kB)
|████████████████████████████████| 821 kB 3.6 MB/s
Collecting colorama==0.3.9
Downloading colorama-0.3.9-py2.py3-none-any.whl (20 kB)
Collecting requests==2.20.0
Downloading requests-2.20.0-py2.py3-none-any.whl (60 kB)
|████████████████████████████████| 60 kB 3.3 MB/s
Collecting pycryptodomex==3.8.1
Downloading pycryptodomex-3.8.1.tar.gz (11.5 MB)
|████████████████████████████████| 11.5 MB 7.6 MB/s
Collecting py-cryptonight>=0.2.4
Downloading py_cryptonight-0.3.2.tar.gz (352 kB)
|████████████████████████████████| 352 kB 1.1 MB/s
Collecting pyrx
Cloning https://github.com/jtgrassie/pyrx.git to /tmp/pip-install-yqvp3a/pyrx
Running command git clone -q https://github.com/jtgrassie/pyrx.git /tmp/pip-install-yqvp3a/pyrx
Running command git submodule update --init --recursive -q
Collecting opencv-python
Downloading opencv_python-4.2.0.34-cp38-cp38-manylinux1_x86_64.whl (28.2 MB)
|████████████████████████████████| 28.2 MB 246 kB/s
Collecting Werkzeug>=0.15
Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)
|████████████████████████████████| 298 kB 5.2 MB/s
Collecting itsdangerous>=0.24
Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)
Collecting click>=5.1
Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)
|████████████████████████████████| 82 kB 446 kB/s
Collecting Jinja2>=2.10.1
Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
|████████████████████████████████| 125 kB 1.2 MB/s
Collecting cachelib
Downloading cachelib-0.1-py3-none-any.whl (12 kB)
Collecting SQLAlchemy>=0.8.0
Downloading SQLAlchemy-1.3.17-cp38-cp38-manylinux2010_x86_64.whl (1.3 MB)
|████████████████████████████████| 1.3 MB 2.4 MB/s
Requirement already satisfied: bcrypt in /usr/lib/python3/dist-packages (from Flask_Bcrypt->-r requirements.txt (line 6)) (3.1.7)
Requirement already satisfied: blinker in /usr/lib/python3/dist-packages (from flask_mail->-r requirements.txt (line 7)) (1.4)
Requirement already satisfied: MarkupSafe in /usr/lib/python3/dist-packages (from wtforms->-r requirements.txt (line 8)) (1.1.0)
Collecting python-xlib
Downloading python_xlib-0.27-py2.py3-none-any.whl (174 kB)
|████████████████████████████████| 174 kB 840 kB/s
Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (from twilio==6.14.0->-r requirements.txt (line 13)) (2019.3)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from twilio==6.14.0->-r requirements.txt (line 13)) (1.14.0)
Collecting pysocks; python_version >= "3.0"
Downloading PySocks-1.7.1-py3-none-any.whl (16 kB)
Requirement already satisfied: PyJWT>=1.4.2 in /usr/lib/python3/dist-packages (from twilio==6.14.0->-r requirements.txt (line 13)) (1.7.1)
Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests==2.20.0->-r requirements.txt (line 15)) (2019.11.28)
Collecting idna<2.8,>=2.5
Downloading idna-2.7-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 288 kB/s
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /usr/lib/python3/dist-packages (from requests==2.20.0->-r requirements.txt (line 15)) (3.0.4)
Collecting urllib3<1.25,>=1.21.1
Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB)
|████████████████████████████████| 118 kB 3.5 MB/s
Building wheels for collected packages: Flask-Bcrypt, flask-mail, WMI, numpy, pyxhook, pycryptodomex, py-cryptonight, pyrx
Building wheel for Flask-Bcrypt (setup.py) ... done
Created wheel for Flask-Bcrypt: filename=Flask_Bcrypt-0.7.1-py3-none-any.whl size=5010 sha256=cabd532a182cd06e0633c4e5c44237fa26bce54408e6f42207a78783ffe9ed7e
Stored in directory: /root/.cache/pip/wheels/8a/d9/0e/dc762c4ebc76f581397a2e25991db6efd148640b5616ab9210
Building wheel for flask-mail (setup.py) ... done
Created wheel for flask-mail: filename=Flask_Mail-0.9.1-py3-none-any.whl size=7568 sha256=1f50c3f59f3800b7310a031db5004ea3901f21230a3235a5860459eb577b662d
Stored in directory: /root/.cache/pip/wheels/98/bc/8c/34c329e4d7efeaf7b9886db0c76d0b23170e54de443f688e3c
Building wheel for WMI (setup.py) ... done
Created wheel for WMI: filename=WMI-1.4.9-py3-none-any.whl size=27284 sha256=a9cb80ca4022e31eaf15b94c06beefc733b41e72aed1bd85625a8cd215d4dcb8
Stored in directory: /root/.cache/pip/wheels/02/bc/50/8a2e3fe0f3cc01b0936ffc895a4674cf2a913fb592e15587c2
Building wheel for numpy (setup.py) ... done
Created wheel for numpy: filename=numpy-1.15.2-cp38-cp38-linux_x86_64.whl size=13667914 sha256=f76f7025d930ac4f252afc986a308460cc93cbc7403df0aa737e67a462f73013
Stored in directory: /root/.cache/pip/wheels/1a/3e/21/18e41365c30013ab2440919972a489bbd68d44ed16772cbf39
Building wheel for pyxhook (setup.py) ... done
Created wheel for pyxhook: filename=pyxhook-1.0.0-py3-none-any.whl size=4754 sha256=e20f9969d7fe762a7d8f1b35151642c6d042e1cb576143bb3dd9694a4f262bc9
Stored in directory: /root/.cache/pip/wheels/9b/2d/b5/f207c6240de6a02937a430250e641975293d1e14b858d11280
Building wheel for pycryptodomex (setup.py) ... done
Created wheel for pycryptodomex: filename=pycryptodomex-3.8.1-cp38-cp38-linux_x86_64.whl size=9735245 sha256=91b2045c171cb43b9558c6d0042eab4f6b0562ad7795644e5fe66ca985fa5206
Stored in directory: /root/.cache/pip/wheels/39/be/27/d91b06e155d053d94b34924334ced91ac0cd0e3067580358bb
Building wheel for py-cryptonight (setup.py) ... done
Created wheel for py-cryptonight: filename=py_cryptonight-0.3.2-cp38-cp38-linux_x86_64.whl size=434693 sha256=37e761b2187012596da5b6603cbb5ec066a7a6aef24d3d167966ca351853b9c8
Stored in directory: /root/.cache/pip/wheels/14/f8/06/9f12b2526839d9beda638696d2fd69757d13ebce1674218706
Building wheel for pyrx (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yqvp3a/pyrx/setup.py'"'"'; file='"'"'/tmp/pip-install-yqvp3a/pyrx/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ca1setqe
cwd: /tmp/pip-install-yqvp3a/pyrx/
Complete output (45 lines):
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "/tmp/pip-install-yqvp3a/pyrx/setup.py", line 21, in run
out = subprocess.check_output(['cmake', '--version'])
File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cmake'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-yqvp3a/pyrx/setup.py", line 59, in
setup(
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 223, in run
self.run_command('build')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-yqvp3a/pyrx/setup.py", line 23, in run
raise RuntimeError("CMake must be installed to build the following extensions: " +
RuntimeError: CMake must be installed to build the following extensions: pyrx
ERROR: Failed building wheel for pyrx
Running setup.py clean for pyrx
Successfully built Flask-Bcrypt flask-mail WMI numpy pyxhook pycryptodomex py-cryptonight
Failed to build pyrx
ERROR: opencv-python 4.2.0.34 has requirement numpy>=1.17.3, but you'll have numpy 1.15.2 which is incompatible.
Installing collected packages: Werkzeug, itsdangerous, click, Jinja2, flask, cachelib, flask-session, wtforms, flask-wtf, SQLAlchemy, Flask-SQLAlchemy, Flask-Login, Flask-Bcrypt, flask-mail, mss, WMI, numpy, python-xlib, pyxhook, idna, urllib3, requests, pysocks, twilio, colorama, pycryptodomex, py-cryptonight, pyrx, opencv-python
Attempting uninstall: idna
Found existing installation: idna 2.8
Not uninstalling idna at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'idna'. No files were found to uninstall.
Attempting uninstall: urllib3
Found existing installation: urllib3 1.25.8
Not uninstalling urllib3 at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'urllib3'. No files were found to uninstall.
Attempting uninstall: requests
Found existing installation: requests 2.22.0
Not uninstalling requests at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'requests'. No files were found to uninstall.
Running setup.py install for pyrx ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yqvp3a/pyrx/setup.py'"'"'; file='"'"'/tmp/pip-install-yqvp3a/pyrx/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-hnewopso/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/pyrx
cwd: /tmp/pip-install-yqvp3a/pyrx/
Complete output (47 lines):
running install
running build
running build_ext
Traceback (most recent call last):
File "/tmp/pip-install-yqvp3a/pyrx/setup.py", line 21, in run
out = subprocess.check_output(['cmake', '--version'])
File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.8/subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'cmake'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-_yqvp3a_/pyrx/setup.py", line 59, in <module>
setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.8/distutils/command/install.py", line 589, in run
self.run_command('build')
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.8/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.8/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-_yqvp3a_/pyrx/setup.py", line 23, in run
raise RuntimeError("CMake must be installed to build the following extensions: " +
RuntimeError: CMake must be installed to build the following extensions: pyrx
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-yqvp3a/pyrx/setup.py'"'"'; file='"'"'/tmp/pip-install-yqvp3a/pyrx/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-hnewopso/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/pyrx Check the logs for full command output.
Building Docker images - this will take a while, please be patient...
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/alex/byob/web-gui/docker-pyinstaller/Dockerfile-py3-amd64: no such file or directory
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/alex/byob/web-gui/docker-pyinstaller/Dockerfile-py3-i386: no such file or directory
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /home/alex/byob/web-gui/docker-pyinstaller/Dockerfile-py3-win32: no such file or directory
Running C2 server with locally hosted web app GUI...
Navigate to http://127.0.0.1:5000 and set up your user to get started.
Serving Python packages from /usr/local/lib/python3.8/dist-packages on port 1339...
Serving BYOB modules from /home/alex/byob/web-gui/buildyourownbotnet/modules on port 1338...
_init_dev_miner error: No module named 'pyrx'
_init_dev_miner error: 'C2' object has no attribute 'execute'
- Serving Flask app "buildyourownbotnet" (lazy loading)
- Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
- Debug mode: off
INFO:werkzeug: * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
bug no-issue-activity