siddolo 已修改 5 years ago. 還原成這個修訂版本
1 file changed, 6 insertions, 2 deletions
bettercap.md
| @@ -9,11 +9,15 @@ docker volume create bettercap | |||
| 9 | 9 | 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. | |
| 10 | 10 | https://www.bettercap.org/usage/ | |
| 11 | 11 | ``` | |
| 12 | - | docker run -it --privileged --net=host -v bettercap:/usr/local/share/bettercap bettercap/bettercap -eval "caplets.update; ui.update; q" | |
| 12 | + | docker run -it --privileged --net=host \ | |
| 13 | + | -v bettercap:/usr/local/share/bettercap \ | |
| 14 | + | bettercap/bettercap -eval "caplets.update; ui.update; q" | |
| 13 | 15 | ``` | |
| 14 | 16 | ||
| 15 | 17 | ## run | |
| 16 | 18 | Default credential user:pass (/usr/local/share/bettercap/caplets/https-ui.cap) | |
| 17 | 19 | ``` | |
| 18 | - | docker run -it --privileged --net=host -v bettercap:/usr/local/share/bettercap bettercap/bettercap -caplet http-ui | |
| 20 | + | docker run -it --privileged --net=host \ | |
| 21 | + | -v bettercap:/usr/local/share/bettercap \ | |
| 22 | + | bettercap/bettercap -caplet http-ui | |
| 19 | 23 | ``` | |
siddolo 已修改 5 years ago. 還原成這個修訂版本
1 file changed, 1 insertion
bettercap.md
| @@ -13,6 +13,7 @@ docker run -it --privileged --net=host -v bettercap:/usr/local/share/bettercap b | |||
| 13 | 13 | ``` | |
| 14 | 14 | ||
| 15 | 15 | ## run | |
| 16 | + | Default credential user:pass (/usr/local/share/bettercap/caplets/https-ui.cap) | |
| 16 | 17 | ``` | |
| 17 | 18 | docker run -it --privileged --net=host -v bettercap:/usr/local/share/bettercap bettercap/bettercap -caplet http-ui | |
| 18 | 19 | ``` | |
siddolo 已修改 5 years ago. 還原成這個修訂版本
1 file changed, 18 insertions
bettercap.md(檔案已創建)
| @@ -0,0 +1,18 @@ | |||
| 1 | + | # bettercap webui from docker | |
| 2 | + | ||
| 3 | + | ## create volume | |
| 4 | + | ``` | |
| 5 | + | docker volume create bettercap | |
| 6 | + | ``` | |
| 7 | + | ||
| 8 | + | ## bootstrap/update | |
| 9 | + | 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. | |
| 10 | + | https://www.bettercap.org/usage/ | |
| 11 | + | ``` | |
| 12 | + | docker run -it --privileged --net=host -v bettercap:/usr/local/share/bettercap bettercap/bettercap -eval "caplets.update; ui.update; q" | |
| 13 | + | ``` | |
| 14 | + | ||
| 15 | + | ## run | |
| 16 | + | ``` | |
| 17 | + | docker run -it --privileged --net=host -v bettercap:/usr/local/share/bettercap bettercap/bettercap -caplet http-ui | |
| 18 | + | ``` | |