Skip to content

Instantly share code, notes, and snippets.

@siddolo
Last active September 5, 2024 22:21
Show Gist options
  • Save siddolo/51c47cfd3479e99126ff9b93f94d8924 to your computer and use it in GitHub Desktop.
Save siddolo/51c47cfd3479e99126ff9b93f94d8924 to your computer and use it in GitHub Desktop.
bettercap webui from docker

bettercap webui from docker

create volume

docker volume create bettercap

bootstrap/update

Only run caplets.update the first time as every time the entire system caplets folder is replaced with the downloaded contents from github, overwriting your changes, such as the credentials, with default values. You can either backup your changes and restore them later in the system folder, or simply copy the changed caplet files in bettercap’s working directory, in which case they’ll be loaded before the ones installed system wide. https://www.bettercap.org/usage/

docker run -it --privileged --net=host \
  -v bettercap:/usr/local/share/bettercap \
  bettercap/bettercap -eval "caplets.update; ui.update; q"

run

Default credential user:pass (/usr/local/share/bettercap/caplets/https-ui.cap)

docker run -it --privileged --net=host \
  -v bettercap:/usr/local/share/bettercap \
  bettercap/bettercap -caplet http-ui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment