| 1 |
Local UI |
| 2 |
|
| 3 |
If you want bettercap web ui running on your computer, you’ll use the |
| 4 |
http-ui caplet which will start the api.rest and http.server modules on |
| 5 |
127.0.0.1. |
| 6 |
|
| 7 |
Edit the default credentials in /usr/share/bettercap/caplets/http-ui.cap |
| 8 |
and then start the ui with: |
| 9 |
|
| 10 |
sudo bettercap -caplet http-ui |
| 11 |
|
| 12 |
Open your browser to http://127.0.0.1/ and login using the credentials you |
| 13 |
configured in the previous step. |
| 14 |
|
| 15 |
|
| 16 |
Remote UI |
| 17 |
|
| 18 |
If instead you’re running bettercap on another host, another machine with |
| 19 |
a different IP address, you want to use the https-ui caplet in order for |
| 20 |
the connection to the UI and the api to be protected by TLS. The caplet |
| 21 |
will bind the modules on 0.0.0.0 and generate a self signed certificate |
| 22 |
you can then allow in your browser. |
| 23 |
|
| 24 |
Edit the default credentials in |
| 25 |
/usr/share/bettercap/caplets/https-ui.cap and then start the ui |
| 26 |
with: |
| 27 |
|
| 28 |
sudo bettercap -caplet https-ui |
| 29 |
|
| 30 |
Open your browser to https://<ip of the machine>/ and login using the |
| 31 |
credentials you configured in the previous step. |
| 32 |
|
| 33 |
More information here: |
| 34 |
https://www.bettercap.org/usage/#web-ui |
| 35 |
|