mirror of
https://github.com/bettercap/bettercap
synced 2025-08-21 05:53:20 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
20e88ac145
commit
756944de29
1 changed files with 2 additions and 4 deletions
|
@ -60,7 +60,7 @@ Despite Windows support [is not yet 100% complete](https://github.com/evilsocket
|
||||||
|
|
||||||
As an example, let's cross compile bettercap for ARM (requires `gcc-arm-linux-gnueabi`, `yacc` and `flex` packages).
|
As an example, let's cross compile bettercap for ARM (requires `gcc-arm-linux-gnueabi`, `yacc` and `flex` packages).
|
||||||
|
|
||||||
**Step 1**: download and cross compile libpcap-1.8.1 for ARM (adjust `PCAPV` to use a different libpcap version):
|
**Step 1**: Download and cross compile libpcap-1.8.1 for ARM (adjust `PCAPV` to use a different libpcap version):
|
||||||
|
|
||||||
cd /tmp
|
cd /tmp
|
||||||
export PCAPV=1.8.1
|
export PCAPV=1.8.1
|
||||||
|
@ -71,13 +71,11 @@ As an example, let's cross compile bettercap for ARM (requires `gcc-arm-linux-gn
|
||||||
./configure --host=arm-linux --with-pcap=linux
|
./configure --host=arm-linux --with-pcap=linux
|
||||||
make
|
make
|
||||||
|
|
||||||
**Step 2**: now cross compile bettercap-ng itself:
|
**Step 2**: Cross compile bettercap-ng itself:
|
||||||
|
|
||||||
cd $GOPATH/src/github.com/evilsocket/bettercap-ng
|
cd $GOPATH/src/github.com/evilsocket/bettercap-ng
|
||||||
env CC=arm-linux-gnueabi-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm CGO_LDFLAGS="-L/tmp/libpcap-$PCAPV" make
|
env CC=arm-linux-gnueabi-gcc CGO_ENABLED=1 GOOS=linux GOARCH=arm CGO_LDFLAGS="-L/tmp/libpcap-$PCAPV" make
|
||||||
|
|
||||||
**Done**
|
|
||||||
|
|
||||||
## Interactive Mode
|
## Interactive Mode
|
||||||
|
|
||||||
If no `-caplet` option is specified, bettercap-ng will start in interactive mode, allowing you to start and stop modules manually, change options and apply new firewall rules on the fly.
|
If no `-caplet` option is specified, bettercap-ng will start in interactive mode, allowing you to start and stop modules manually, change options and apply new firewall rules on the fly.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue