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

UI shows a blank page, no login prompt #29

Closed
R-Sonlabs opened this issue Apr 20, 2020 · 10 comments
Closed

UI shows a blank page, no login prompt #29

R-Sonlabs opened this issue Apr 20, 2020 · 10 comments

Comments

@R-Sonlabs
Copy link

Hi! I love your work and decided to try out the http-ui for the first time tonight and fell down a 3 hour rabbit hole. When I load 127.0.0.1:80 I get a blank screen. Checking the source, I see the exact contents of bettercap/ui/index.html so it is definitely loading the correct page.

Starting bettercap -caplet http-ui shows what it should (ie http.server starting on 127.0.0.1:80 and api.rest starting on 127.0.0.1:8081) Naturally I assume that means that I'm good to go, but it doesn't seem to start the ui-root app when I load the page.

Running Kali 5.5.0-amd64 on bare metal.
Bettercap v2.27.1
I have bettercap-ui installed (tried both apt and built from src)
I have already set up symblink to fix the /usr/local/share vs /usr/share/ issue and that got me from a 404 to a blank screen.

I know there is probably some more information and reports for some diag tests I could run that would be helpful to you, but it's 3:30am in my part of the world and I can't fathom what they might be, but I am happy to follow instructions if you need more!

Thanks!

@nightwolfy
Copy link

i had the same issue. I've resolved downloading the last release of the ui from github, remove all the default files in "ui" folder of bettercap (i've zipped them for security) and place the extracted files in.

@urmommy-c
Copy link

urmommy-c commented May 3, 2020

@nightwolfy can you elaborate on that

@nightwolfy
Copy link

@nightwolfy can you elaborate on that

@Bobowonnell i have downloaded this from the release page of ui https://github.com/bettercap/ui/releases/download/v1.3.0/ui.zip

  • Next i've backup the folder of ui in the usr/share/bettercap
  • Delete the content of ui folder (not the backup obviously)
  • extract the zip in the folder
  • if you see the blank page refresh that in the browser. It will download the updated ui.

@Neo-Desktop
Copy link

I had the same issue as described

This solved the problem.

@nightwolfy can you elaborate on that

@Bobowonnell i have downloaded this from the release page of ui https://github.com/bettercap/ui/releases/download/v1.3.0/ui.zip

  • Next i've backup the folder of ui in the usr/share/bettercap
  • Delete the content of ui folder (not the backup obviously)
  • extract the zip in the folder
  • if you see the blank page refresh that in the browser. It will download the updated ui.

I think the packed version shipped with kali is defective

@DanikNik
Copy link

Had the same issue with kali packaged version of ui - replacing ui folder with release version helped

@cyrus104
Copy link

I just did this and it didn't work for me.

rm -rf /usr/share/bettercap/ui
cd /usr/share/bettercap
unzip ~/Downloads/ui.zip

The folder structure looks the same but the ui still doesn't show up.

@avmiz
Copy link

avmiz commented Jul 1, 2020

I just did this and it didn't work for me.

rm -rf /usr/share/bettercap/ui
cd /usr/share/bettercap
unzip ~/Downloads/ui.zip

The folder structure looks the same but the ui still doesn't show up.

same for me, still blank page

@davidbutler62
Copy link

I had the same issue but after following the steps above and then clearing the browser cache it worked fine.

You need to clear the browser cache or it will just load the empty version that is still in the cache

@buffermet
Copy link
Member

@davidbutler62 thanks for your report.

This seems to be a common issue that might be able to be resolved by disabling caching in the UI.

@xtha-op
Copy link

xtha-op commented Oct 31, 2020

@davidbutler62 thanks for your report.

This seems to be a common issue that might be able to be resolved by disabling caching in the UI.

that's true this is worked for me.

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