Skip to content

Instantly share code, notes, and snippets.

@racerxdl
Forked from siddolo/bettercap.md
Created June 24, 2023 01:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save racerxdl/e90033d9269e0186ab805f99563b515c to your computer and use it in GitHub Desktop.
Save racerxdl/e90033d9269e0186ab805f99563b515c 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