mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 13:09:49 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
e0381e5fba
commit
678865cd6d
2 changed files with 6 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -21,8 +21,6 @@ clean:
|
||||||
install:
|
install:
|
||||||
@mkdir -p /usr/local/share/bettercap/caplets
|
@mkdir -p /usr/local/share/bettercap/caplets
|
||||||
@cp bettercap /usr/local/bin/
|
@cp bettercap /usr/local/bin/
|
||||||
@cp bettercap.service /etc/systemd/system/
|
|
||||||
@systemctl daemon-reload
|
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
@docker build -t bettercap:latest .
|
@docker build -t bettercap:latest .
|
||||||
|
|
|
@ -18,17 +18,21 @@ A [precompiled version is available](https://github.com/bettercap/bettercap/rele
|
||||||
Make sure you have a correctly configured **Go >= 1.8** environment, that `$GOPATH/bin` is in `$PATH`, that the `libpcap-dev` and `libnetfilter-queue-dev` (this one is only required on Linux) package installed for your system and then:
|
Make sure you have a correctly configured **Go >= 1.8** environment, that `$GOPATH/bin` is in `$PATH`, that the `libpcap-dev` and `libnetfilter-queue-dev` (this one is only required on Linux) package installed for your system and then:
|
||||||
|
|
||||||
$ go get github.com/bettercap/bettercap
|
$ go get github.com/bettercap/bettercap
|
||||||
|
$ cd $GOPATH/src/github.com/bettercap/bettercap
|
||||||
|
$ make && sudo make install
|
||||||
|
|
||||||
This command will download bettercap, install its dependencies, compile it and move the `bettercap` executable to `$GOPATH/bin`.
|
This command will download bettercap, install its dependencies, compile it and move the `bettercap` executable to `/usr/local/bin`.
|
||||||
|
|
||||||
Now you can use `sudo bettercap -h` to show the basic command line options and just `sudo bettercap` to start an
|
Now you can use `sudo bettercap -h` to show the basic command line options and just `sudo bettercap` to start an
|
||||||
[interactive session](https://github.com/bettercap/bettercap/wiki/Interactive-Mode) on your default network interface, otherwise you can [load a caplet](https://github.com/bettercap/bettercap/wiki/Caplets) from [the dedicated repository](https://github.com/bettercap/caplets).
|
[interactive session](https://github.com/bettercap/bettercap/wiki/Interactive-Mode) on your default network interface, otherwise you can [load a caplet](https://github.com/bettercap/bettercap/wiki/Caplets) from [the dedicated repository](https://github.com/bettercap/caplets).
|
||||||
|
|
||||||
## Update
|
## Update
|
||||||
|
|
||||||
In order to update to an unstable but bleeding edge release from this repository, run the command below:
|
In order to update to an unstable but bleeding edge release from this repository, run the commands below:
|
||||||
|
|
||||||
$ go get -u github.com/bettercap/bettercap
|
$ go get -u github.com/bettercap/bettercap
|
||||||
|
$ cd $GOPATH/src/github.com/bettercap/bettercap
|
||||||
|
$ make && sudo make install
|
||||||
|
|
||||||
## Documentation and Examples
|
## Documentation and Examples
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue