1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00

update bettercap

This commit is contained in:
kev 2024-08-26 17:56:15 +08:00
parent 8a0f422074
commit ceaf02fadb
2 changed files with 11 additions and 1 deletions

View File

@ -12,7 +12,13 @@ $ docker compose up -d
$ alias bettercap="docker exec -it bettercap-bettercap-1 /app/bettercap" $ alias bettercap="docker exec -it bettercap-bettercap-1 /app/bettercap"
$ bettercap --help $ bettercap -help
$ bettercap -iface wlan0
>>> net.probe on
>>> net.show
>>> net.probe off
>>> exit
``` ```
[1]: https://www.bettercap.org/ [1]: https://www.bettercap.org/

View File

@ -3,6 +3,10 @@ services:
image: bettercap/bettercap image: bettercap/bettercap
entrypoint: sleep entrypoint: sleep
command: infinity command: infinity
volumes:
- /usr/share/zoneinfo:/usr/share/zoneinfo:ro
environment:
- TZ=Asia/Shanghai
network_mode: host network_mode: host
privileged: true privileged: true
tty: true tty: true