Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web UI shows a blank page #737

Open
mYnDstrEAm opened this issue May 30, 2020 · 10 comments
Open

Web UI shows a blank page #737

mYnDstrEAm opened this issue May 30, 2020 · 10 comments

Comments

@mYnDstrEAm
Copy link

mYnDstrEAm commented May 30, 2020

When starting the Web UI with http-ui on or exactly as described in the documentation with sudo bettercap -caplet http-ui after having changed the credentials in /usr/share/bettercap/caplets/http-ui.cap (/usr/local/share does not have a bettercap folder) I'm getting just a blank page with the bettercap favicon and bettercap set as the page title.

It might have to do with some other problems that cause the sniffing to not really work. I asked about it here.

Environment

  • Bettercap version v2.27.1
  • Kali Linux 64bit
  • Command sudo bettercap / sudo bettercap -debug (and sudo bettercap -caplet http-ui)
  • Full debug output:
>> http-ui on
[mod.started] api.rest
[sys.log] [inf] api.rest api server starting on http://127.0.0.1:8081
[mod.started] http.server
[sys.log] [inf] http.server starting on http://127.0.0.1:80
>> 

Steps to Reproduce

  1. Start Kali Linux virtual machine on Debian/KDE with nftables firewall
  2. Start bettercap
  3. Turn on http-ui
  4. Open localhost with preinstalled Kali Linux browser

Expected behavior: I expected it to show the Web UI.

Actual behavior: It showed a blank/empty/white page.

@benkhouya
Copy link

Same here!

@cyrus104
Copy link

Same here, there is a similar issue on github.com/bettercap/ui which has a recommended fix but I just tried it and it did not work.

@avmiz
Copy link

avmiz commented Jul 1, 2020

same at me

@drneox
Copy link

drneox commented Jul 4, 2020

I had a similar problem in kali, because kali install bettercap in different path by default, this was resolved installing the last version of golang and compile bettercap from command line as describe in the oficial website:

  1. go get github.com/bettercap/bettercap
  2. cd $GOPATH/src/github.com/bettercap/bettercap
  3. make build
  4. sudo make install

@jepunband
Copy link

didn't work for me either..

@rielinux
Copy link

Yeah....me too, my browser said " 404 page not found "

@philmacrack
Copy link

i used
sudo docker run -it --privileged --net=host bettercap/bettercap -eval "http-ui; ui.update"
and i got to the web ui

@Excalibur025
Copy link

Also getting the "404 page not found" error although it only seems to happen with https-ui. Running without SSL locally seems to work okay.

Tried an alternate clean install and build with npm instead of git and still didn't cooperate. Tested in elinks to make sure it wasn't firefox or midori misbehaving. Still nothing.

@highrider0602
Copy link

Also experiencing the same thing. Has anyone found a fix for this yet?

@sigmamale1980
Copy link

For anyone facing this issue i did:

sudo ln -sf /usr/share/bettercap /usr/local/share/bettercap

then:

sudo bettercap -caplet http-ui

Good luck guys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests