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

Error web-gui ./startup.sh #324

Closed hyped-777 closed 3 years ago

hyped-777 commented 3 years ago

Hi! While following your youtube tutorial, i was trying to setup byob web-gui on ubuntu 20, but i found the web-gui ./startup.sh stuck for hours on the following error:

Collecting pyinstaller==3.6
Downloading PyInstaller-3.6.tar.gz (3.5 MB) Installing build dependencies: started

Another error i found right on begining of web-gui ./startup.sh

Running setup.py clean for pyrx Failed to build pyrx Installing collected packages: pyrx Running setup.py install for pyrx ... error ERROR: Command errored out with exit status 1: Building wheels for collected packages: pyrx 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-pyllx1nt/pyrx/setup.py'"'"'; file='"'"'/tmp/pip-install-pyllx1nt/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-q_dc8215

i'm around this for hours, following tutorials all over and i don't find any solution. Thank you so much!

hyped-777 commented 3 years ago

i was testing now on kali, and just got the same issue

garsh1 commented 3 years ago

These are both common issues. Pyrx is a broken module, ignore that error. Regarding the Installing build dependencies, this can take a while but it will work eventually. Pyinstaller and Docker just don’t play nice I guess.

hyped-777 commented 3 years ago

These are both common issues. Pyrx is a broken module, ignore that error. Regarding the Installing build dependencies, this can take a while but it will work eventually. Pyinstaller and Docker just don’t play nice I guess.

Really good, and easy fix, we just need to change the txt files there to: ARG PYTHON_VERSION=4.0

but about the pyrx, is there any fix? thanks

hyped-777 commented 3 years ago

wine: created the configuration directory '/wine' 0048:err:explorer:initialize_display_settings Failed to query current display settings for L"\\.\DISPLAY1".
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002c:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0050:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0050:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0050:err:ole:apartment_createwindowifneeded CreateWindow failed with error 14007
0050:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x800736b7
0050:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x800736b7
0050:err:ole:apartment_get_local_server_stream Failed: 0x800736b7
0050:err:ole:start_rpcss Failed to open RpcSs service
0040:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0040:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0060:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0060:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
0068:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0068:err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.
Could not find Wine Gecko. HTML rendering will be disabled.
00b0:err:ntoskrnl:ZwLoadDriver failed to create driver L"\Registry\Machine\System\CurrentControlSet\Services\wineusb": c0000142
002c:err:setupapi:SetupDiInstallDevice Failed to start service L"wineusb" for device L"ROOT\WINE\WINEUSB", error 1114.
wine: configuration in L"/wine" has been updated.
Using winetricks 20200412-next - sha256sum: 8e180b094e9cde430a89ee98ca63855bfacf3479b030b9bd4fe24bbd261ee04a with wine-5.19 (Staging) and WINEARCH=win32
Executing w_do_call win7 Executing mkdir -p / Executing load_win7 Executing wine winecfg -v win7

warning: Running /usr/bin/wineserver -w. This will hang until all wine processes in prefix=/wine terminate

alhazmy13 commented 3 years ago

Try this PR https://github.com/malwaredllc/byob/issues/325

github-actions[bot] commented 3 years ago

Stale issue message