mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
update bettercap
This commit is contained in:
parent
8a0f422074
commit
ceaf02fadb
@ -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/
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user