mirror of
https://github.com/bettercap/bettercap.git
synced 2024-11-23 14:00:09 -08:00
Page:
Compilation on Windows
Pages
Caplets
Changing the Prompt
Compilation on Android
Compilation on Linux and macOS
Compilation on Windows
Cross Compilation ( ARM example )
Home
Interactive Mode
Known Issues
Using with Docker
any.proxy
api.rest
arp.spoof
ble
caplets.update
dhcp6.spoof
dns.spoof
events.stream
gps
hid
http.modules
http.proxy
http.server
https.proxy
https.server
mac.changer
mysql.server
net.probe
net.recon
net.sniff
packet.proxy
syn.scan
tcp.modules
tcp.proxy
ticker
update.check
wifi
wol
3
Compilation on Windows
Simone Margaritelli edited this page 2018-02-23 01:40:06 +01:00
Despite Windows support is not yet 100% complete, it is possible to build bettercap for Microsoft platforms and enjoy 99.99% of the experience. The steps to prepare the building environment are:
- Install go amd64 (add go binaries to your
%PATH%
). - Install TDM GCC for amd64 (add TDM-GCC binaries to your
%PATH%
). - Also add
TDM-GCC\x86_64-w64-mingw32\bin
to your%PATH%
. - Install winpcap.
- Download Winpcap developer's pack and extract it to
C:\
. - Find
wpcap.dll
andpacket.dll
in your PC (typically inc:\windows\system32
). - Copy them to some other temp folder or else you'll have to supply Admin privs to the following commands.
- Run
gendef
on those files:gendef wpcap.dll
andgendef packet.dll
(obtainable withMinGW Installation Manager
, packagemingw32-gendef
).
This will generate .def
files, now we'll generate the static libraries files:
- Run
dlltool --as-flags=--64 -m i386:x86-64 -k --output-lib libwpcap.a --input-def wpcap.def
. - and
dlltool --as-flags=--64 -m i386:x86-64 -k --output-lib libpacket.a --input-def packet.def
. - Copy both
libwpcap.a
andlibpacket.a
toc:\WpdPack\Lib\x64
.
And eventually just go get github.com/bettercap/bettercap
as you would do on other platforms.
- Known Issues
- Using with Docker
- Compilation
- Interactive Mode and Command Line Arguments
- Changing the Prompt
- Caplets
Modules
- Core
- HID on 2.4Ghz (mousejacking)
- Bluetooth Low Energy
- 802.11
- Ethernet and IP
- Servers
- Rogue Servers
- Utils