malwaredllc / byob

An open-source post-exploitation framework for students, researchers and developers.
https://byob.dev
GNU General Public License v3.0
8.97k stars 2.12k forks source link

Cannot install on Ubuntu or Kali #243

Closed alexp121 closed 3 years ago

alexp121 commented 4 years ago

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'

malwaredllc commented 4 years ago

Working on this now

malwaredllc commented 4 years ago

@alexp121 i just merged PR #244 can you do a fresh install and let me know if it resolves your issue?

alexp121 commented 4 years ago

Still getting errors @ Building wheel for Pyrx (setup.py) ... error This is on a known working snapshot of 2020.2 Kali with a fresh git clone of the byob repo

malwaredllc commented 4 years ago

@alexp121 Pyrx isn't strictly necessary, it is just used by one of the miner module implementations. If it detects pyrx and/or py-cryptonight aren't available, it will default to using XMRig. So basically if you ignore that error it should still work.

alexp121 commented 4 years ago

still getting a bunch of errors:

kali@kali:~/byob/web-gui$ sudo ./startup.sh Running BYOB app startup... Confirmed Python is installed. Installing Docker... Reading package lists... Done Building dependency tree
Reading state information... Done The following packages were automatically installed and are no longer required: fonts-glyphicons-halflings gir1.2-appindicator3-0.1 libappindicator3-1 libboost-iostreams1.67.0 libboost-system1.67.0 libboost-thread1.67.0 libqhull7 python3-deprecation python3-flask-session python3-pcapfile python3-winrm ruby-did-you-mean Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: cgroupfs-mount libintl-perl libintl-xs-perl libmodule-find-perl libmodule-scandeps-perl libproc-processtable-perl libsort-naturally-perl needrestart runc tini Suggested packages: docker-doc aufs-tools btrfs-progs debootstrap rinse xfsprogs zfs-fuse | zfsutils Recommended packages: criu The following NEW packages will be installed: cgroupfs-mount docker.io libintl-perl libintl-xs-perl libmodule-find-perl libmodule-scandeps-perl libproc-processtable-perl libsort-naturally-perl needrestart runc tini 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. Need to get 63.0 MB of archives. After this operation, 266 MB of additional disk space will be used. Get:1 http://kali.download/kali kali-rolling/main amd64 runc amd64 1.0.0~rc10+dfsg2-1 [2,646 kB] Get:2 http://kali.download/kali kali-rolling/main amd64 tini amd64 0.18.0-1+b1 [250 kB]
Get:3 http://kali.download/kali kali-rolling/main amd64 docker.io amd64 19.03.7+dfsg1-3 [59.1 MB]
Get:4 http://kali.download/kali kali-rolling/main amd64 cgroupfs-mount all 1.4 [6,276 B]
Get:5 http://kali.download/kali kali-rolling/main amd64 libintl-perl all 1.26-2 [756 kB]
Get:6 http://kali.download/kali kali-rolling/main amd64 libintl-xs-perl amd64 1.26-2+b5 [39.9 kB]
Get:7 http://kali.download/kali kali-rolling/main amd64 libmodule-find-perl all 0.15-1 [11.0 kB]
Get:8 http://kali.download/kali kali-rolling/main amd64 libmodule-scandeps-perl all 1.27-1 [44.0 kB]
Get:9 http://kali.download/kali kali-rolling/main amd64 libproc-processtable-perl amd64 0.59-2 [45.7 kB]
Get:10 http://kali.download/kali kali-rolling/main amd64 libsort-naturally-perl all 1.03-2 [13.5 kB]
Get:11 http://kali.download/kali kali-rolling/main amd64 needrestart all 3.5-1 [61.8 kB]
Fetched 63.0 MB in 53s (1,184 kB/s)
Selecting previously unselected package runc. (Reading database ... 285116 files and directories currently installed.) Preparing to unpack .../00-runc_1.0.0~rc10+dfsg2-1_amd64.deb ... Unpacking runc (1.0.0~rc10+dfsg2-1) ... Selecting previously unselected package tini. Preparing to unpack .../01-tini_0.18.0-1+b1_amd64.deb ... Unpacking tini (0.18.0-1+b1) ... Selecting previously unselected package docker.io. Preparing to unpack .../02-docker.io_19.03.7+dfsg1-3_amd64.deb ... Unpacking docker.io (19.03.7+dfsg1-3) ... Selecting previously unselected package cgroupfs-mount. Preparing to unpack .../03-cgroupfs-mount_1.4_all.deb ... Unpacking cgroupfs-mount (1.4) ... Selecting previously unselected package libintl-perl. Preparing to unpack .../04-libintl-perl_1.26-2_all.deb ... Unpacking libintl-perl (1.26-2) ... Selecting previously unselected package libintl-xs-perl. Preparing to unpack .../05-libintl-xs-perl_1.26-2+b5_amd64.deb ... Unpacking libintl-xs-perl (1.26-2+b5) ... Selecting previously unselected package libmodule-find-perl. Preparing to unpack .../06-libmodule-find-perl_0.15-1_all.deb ... Unpacking libmodule-find-perl (0.15-1) ... Selecting previously unselected package libmodule-scandeps-perl. Preparing to unpack .../07-libmodule-scandeps-perl_1.27-1_all.deb ... Unpacking libmodule-scandeps-perl (1.27-1) ... Selecting previously unselected package libproc-processtable-perl. Preparing to unpack .../08-libproc-processtable-perl_0.59-2_amd64.deb ... Unpacking libproc-processtable-perl (0.59-2) ... Selecting previously unselected package libsort-naturally-perl. Preparing to unpack .../09-libsort-naturally-perl_1.03-2_all.deb ... Unpacking libsort-naturally-perl (1.03-2) ... Selecting previously unselected package needrestart. Preparing to unpack .../10-needrestart_3.5-1_all.deb ... Unpacking needrestart (3.5-1) ... Setting up runc (1.0.0~rc10+dfsg2-1) ... Setting up libmodule-find-perl (0.15-1) ... Setting up tini (0.18.0-1+b1) ... Setting up libproc-processtable-perl (0.59-2) ... Setting up libintl-perl (1.26-2) ... Setting up cgroupfs-mount (1.4) ... update-rc.d: We have no instructions for the cgroupfs-mount init script. update-rc.d: It looks like a non-network service, we enable it. Setting up libsort-naturally-perl (1.03-2) ... Setting up libmodule-scandeps-perl (1.27-1) ... Setting up needrestart (3.5-1) ... Setting up docker.io (19.03.7+dfsg1-3) ... update-rc.d: We have no instructions for the docker init script. update-rc.d: It looks like a non-network service, we enable it. docker.service is a disabled or a static unit, not starting it. docker.socket is a disabled or a static unit, not starting it. Setting up libintl-xs-perl (1.26-2+b5) ... Processing triggers for systemd (245.5-3) ... Processing triggers for man-db (2.9.2-1) ... Processing triggers for kali-menu (2020.3.0) ... 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 Requirement already satisfied: flask in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1)) (1.1.2) Requirement already satisfied: flask_session in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2)) (0.3.1) Requirement already satisfied: flask_wtf in /usr/lib/python3/dist-packages (from -r requirements.txt (line 3)) (0.14.3) Requirement already satisfied: Flask_SQLAlchemy in /usr/lib/python3/dist-packages (from -r requirements.txt (line 4)) (2.4.0) Requirement already satisfied: Flask_Login in /usr/lib/python3/dist-packages (from -r requirements.txt (line 5)) (0.5.0) Collecting Flask_Bcrypt Downloading Flask-Bcrypt-0.7.1.tar.gz (5.1 kB) Requirement already satisfied: flask_mail in /usr/lib/python3/dist-packages (from -r requirements.txt (line 7)) (0.9.1) Requirement already satisfied: wtforms in /usr/lib/python3/dist-packages (from -r requirements.txt (line 8)) (2.2.1) 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 995 kB/s Collecting pyxhook==1.0.0 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 9.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 4.3 MB/s Collecting pycryptodomex==3.8.1 Downloading pycryptodomex-3.8.1.tar.gz (11.5 MB) |████████████████████████████████| 11.5 MB 93 kB/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-ojhs033x/pyrx Running command git clone -q https://github.com/jtgrassie/pyrx.git /tmp/pip-install-ojhs033x/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 257 kB/s Requirement already satisfied: bcrypt in /usr/lib/python3/dist-packages (from Flask_Bcrypt->-r requirements.txt (line 6)) (3.1.7) Collecting python-xlib Downloading python_xlib-0.27-py2.py3-none-any.whl (174 kB) |████████████████████████████████| 174 kB 1.4 MB/s Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (from twilio==6.14.0->-r requirements.txt (line 13)) (2020.1) Requirement already satisfied: pysocks; python_version >= "3.0" in /usr/lib/python3/dist-packages (from twilio==6.14.0->-r requirements.txt (line 13)) (1.6.8) Collecting PyJWT>=1.4.2 Downloading PyJWT-1.7.1-py2.py3-none-any.whl (18 kB) Requirement already satisfied: six in /usr/lib/python3/dist-packages (from twilio==6.14.0->-r requirements.txt (line 13)) (1.15.0) 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 230 kB/s Requirement already satisfied: certifi>=2017.4.17 in /usr/lib/python3/dist-packages (from requests==2.20.0->-r requirements.txt (line 15)) (2020.4.5.1) Collecting idna<2.8,>=2.5 Downloading idna-2.7-py2.py3-none-any.whl (58 kB) |████████████████████████████████| 58 kB 665 kB/s Building wheels for collected packages: Flask-Bcrypt, 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=d2d0841d89dd950efc42bbd012a7e4dd5bd8f34add26308f55f8b04111948212 Stored in directory: /root/.cache/pip/wheels/8a/d9/0e/dc762c4ebc76f581397a2e25991db6efd148640b5616ab9210 Building wheel for WMI (setup.py) ... done Created wheel for WMI: filename=WMI-1.4.9-py3-none-any.whl size=27284 sha256=e4c07e854fb65dc25c55722d1365898f872f0bcddee59a0cf7af71757a553b78 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=13662094 sha256=20622e67ec6606f13230b14abec23d131b6a62cbcaf618f5b044392e8682d210 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=f53afb2c37c78d244e233be543ceadf262df6c81ada42069aa41114813d4b9c5 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=9731078 sha256=c9f2a7202112dcc706fd02017afce73de3dea71e35532669ad9092c0eda4a944 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=434516 sha256=52c388bdc8e59c4535da7eb53fc154256b89b7269511c5f3047001c7ad4ac842 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-ojhs033x/pyrx/setup.py'"'"'; file='"'"'/tmp/pip-install- ojhs033x/pyrx/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, fil e, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-wd8nkid7
cwd: /tmp/pip-install-ojhs033x/pyrx/
Complete output (45 lines):
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "/tmp/pip-install-ojhs033x/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-ojhs033x/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-ojhs033x/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 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: Flask-Bcrypt, mss, WMI, numpy, python-xlib, pyxhook, urllib3, idna, requests, PyJWT, twilio, colorama, pycryptodomex, py-cryptonight, pyrx, opencv-python Attempting uninstall: numpy Found existing installation: numpy 1.17.4 Not uninstalling numpy at /usr/lib/python3/dist-packages, outside environment /usr Can't uninstall 'numpy'. No files were found to uninstall. Attempting uninstall: urllib3 Found existing installation: urllib3 1.25.9 Not uninstalling urllib3 at /usr/lib/python3/dist-packages, outside environment /usr Can't uninstall 'urllib3'. No files were found to uninstall. Attempting uninstall: idna Found existing installation: idna 2.9 Not uninstalling idna at /usr/lib/python3/dist-packages, outside environment /usr Can't uninstall 'idna'. No files were found to uninstall. Attempting uninstall: requests Found existing installation: requests 2.23.0 Not uninstalling requests at /usr/lib/python3/dist-packages, outside environment /usr Can't uninstall 'requests'. No files were found to uninstall. Attempting uninstall: colorama Found existing installation: colorama 0.4.3 Not uninstalling colorama at /usr/lib/python3/dist-packages, outside environment /usr Can't uninstall 'colorama'. No files were found to uninstall. Attempting uninstall: pycryptodomex Found existing installation: pycryptodomex 3.9.7 Not uninstalling pycryptodomex at /usr/lib/python3/dist-packages, outside environment /usr Can't uninstall 'pycryptodomex'. 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-ojhs033x/pyrx/setup.py'"'"'; file='"'"'/tmp/pip-instal l-ojhs033x/pyrx/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, f ile, '"'"'exec'"'"'))' install --record /tmp/pip-record-gd168k9o/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/inclu de/python3.8/pyrx
cwd: /tmp/pip-install-ojhs033x/pyrx/
Complete output (47 lines):
running install
running build
running build_ext
Traceback (most recent call last):
File "/tmp/pip-install-ojhs033x/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-ojhs033x/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-ojhs033x/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-ojhs033x/pyrx/setup.py'"'"'; file='"'"'/tmp/pip-install-ojhs033x/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-gd168k9o/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... Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? ERRO[0000] failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: no such file or directory Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? ERRO[0000] failed to dial gRPC: cannot connect to the Docker daemon. Is 'docker daemon' running on this host?: dial unix /var/run/docker.sock: connect: no such file or directory Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 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/kali/byob/web-gui/buildyourownbotnet/modules on port 1338...

malwaredllc commented 4 years ago

I am making a video walkthrough of the installation/setup process now, I will post it tomorrow.

malwaredllc commented 4 years ago

Installation and Setup Video Walkthrough: https://www.youtube.com/watch?v=XA-S_FRz2ho

alexp121 commented 4 years ago

Video is set to private so I cannot view it sorry

gexus commented 4 years ago

I installed cmake via apt and fixed the issue of pyrx

DebianFox commented 4 years ago

just read log more carefully RuntimeError: CMake must be installed to build the following extensions: pyrx install cmake and try again

jimbob9955 commented 3 years ago

Hi,

How do i get access to https://www.youtube.com/watch?v=XA-S_FRz2ho ?

Thanks in advance

sefess commented 3 years ago

C:\Python37>.py=PythonScript

C:\Python37>+ wine cmd

C:\Python37>PythonScript=c:\Python37\python.exe "%1" %*

C:\Python37>+ pgrep wineserver

2020-10-27 21:18:08 (112 MB/s) - '/wine/drivec/windows/temp//VC_redist.x86.exe' saved [14575896/14575896]

Finaly Nothing show now wait many time download and download manytime i install on ubunto upcloud server i flow all commends correctely and wait 30 to 50 minuts then nothoing show not install .

tuxevil commented 3 years ago

im interested in access to https://www.youtube.com/watch?v=XA-S_FRz2ho and to https://www.youtube.com/watch?v=XCI9tcDVOMc too please

thanks

alexisdacostapereira commented 3 years ago

Im interested in access to https://www.youtube.com/watch?v=XA-S_FRz2ho & https://www.youtube.com/watch?v=XCI9tcDVOMc hopefuly this will help me to fix : RuntimeError: CMake must be installed to build the following extensions: pyrx

sefess commented 3 years ago

I cannot see your video. All videos are private

[image: image.png]

sefess commented 3 years ago

Also, See this message when entering this command ./startup.sh

---> 9aee81273687 Step 18/25 : RUN /usr/bin/pip install pyinstaller==$PYINSTALLER_VERSION ---> Running in 836be4d8299c 0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\.\DISPLAY1". 009c:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\wineusb": c0000142 Collecting pyinstaller==3.6 Downloading PyInstaller-3.6.tar.gz (3.5 MB) Installing build dependencies: started

github-actions[bot] commented 3 years ago

Stale issue message

akshatkalkhanda commented 2 years ago

Installation and Setup Video Walkthrough: https://www.youtube.com/watch?v=XA-S_FRz2ho

Link is private now

Anovas001 commented 2 years ago

Can i get the link?