From 756944de2955f6f126d18e06cab5f3dcc6d50941 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Fri, 16 Feb 2018 15:50:57 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6d6b1f98..6e1b3f61 100644 --- a/README.md +++ b/README.md @@ -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). -**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 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 make -**Step 2**: now cross compile bettercap-ng itself: +**Step 2**: Cross compile bettercap-ng itself: 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 -**Done** - ## 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.