MCPcopy
hub / github.com/bettercap/bettercap

github.com/bettercap/bettercap @v2.41.7 sqlite

repository ↗ · DeepWiki ↗ · release v2.41.7 ↗
7,985 symbols 22,526 edges 372 files 893 documented · 11%
README

Join the project community on our server!


BetterCap

<a href="https://github.com/bettercap/bettercap/releases/latest"><img alt="Release" src="https://img.shields.io/github/release/bettercap/bettercap.svg?style=flat-square"></a>
<a href="https://github.com/bettercap/bettercap/blob/master/LICENSE.md"><img alt="Software License" src="https://img.shields.io/badge/license-GPL3-brightgreen.svg?style=flat-square"></a>
<a href="https://github.com/bettercap/bettercap/actions/workflows/test-on-linux.yml"><img alt="Tests on Linux" src="https://github.com/bettercap/bettercap/actions/workflows/test-on-linux.yml/badge.svg"></a>
<a href="https://github.com/bettercap/bettercap/actions/workflows/test-on-macos.yml"><img alt="Tests on macOS" src="https://github.com/bettercap/bettercap/actions/workflows/test-on-macos.yml/badge.svg"></a>
<a href="https://github.com/bettercap/bettercap/actions/workflows/test-on-windows.yml"><img alt="Tests on Windows" src="https://github.com/bettercap/bettercap/actions/workflows/test-on-windows.yml/badge.svg"></a>
<a href="https://hub.docker.com/r/bettercap/bettercap"><img alt="Docker Hub" src="https://img.shields.io/docker/v/bettercap/bettercap?logo=docker"></a>
<img src="https://img.shields.io/badge/human-coded-brightgreen?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0ibHVjaWRlIGx1Y2lkZS1wZXJzb24tc3RhbmRpbmctaWNvbiBsdWNpZGUtcGVyc29uLXN0YW5kaW5nIj48Y2lyY2xlIGN4PSIxMiIgY3k9IjUiIHI9IjEiLz48cGF0aCBkPSJtOSAyMCAzLTYgMyA2Ii8+PHBhdGggZD0ibTYgOCA2IDIgNi0yIi8+PHBhdGggZD0iTTEyIDEwdjQiLz48L3N2Zz4=" alt="This project is 100% made by humans."/>

bettercap is a powerful, easily extensible and portable framework written in Go which aims to offer to security researchers, red teamers and reverse engineers an easy to use, all-in-one solution with all the features they might possibly need for performing reconnaissance and attacking WiFi networks, Bluetooth Low Energy devices, CAN-bus, wireless HID devices and Ethernet networks.

UI

Main Features

  • WiFi networks scanning, deauthentication attack, clientless PMKID association attack and automatic WPA/WPA2/WPA3 client handshakes capture.
  • Bluetooth Low Energy devices scanning, characteristics enumeration, reading and writing.
  • 2.4Ghz wireless devices scanning and MouseJacking attacks with over-the-air HID frames injection (with DuckyScript support).
  • CAN-bus and DBC support for decoding, injecting and fuzzing frames.
  • Passive and active IP network hosts probing and recon.
  • ARP, DNS, NDP and DHCPv6 spoofers for MITM attacks on IPv4 and IPv6 based networks.
  • Proxies at packet level, TCP level and HTTP/HTTPS application level fully scriptable with easy to implement javascript plugins.
  • A powerful network sniffer for credentials harvesting which can also be used as a network protocol fuzzer.
  • A very fast port scanner.
  • A powerful REST API with support for asynchronous events notification on websocket to orchestrate your attacks easily.
  • A very convenient web UI.
  • More!

Contributors

bettercap project contributors

License

bettercap is made with ♥ and released under the GPL 3 license.

Stargazers over time

Stargazers over time

Extension points exported contracts — how you extend this code

FirewallManager (Interface)
(no doc) [5 implementers]
firewall/firewall.go
FrameBuilder (Interface)
(no doc) [3 implementers]
modules/hid/builders.go
ClientOption (FuncType)
ClientOption fills the option struct to configure intefaces, etc.
modules/zerogod/zeroconf/client.go
EdgesCallback (FuncType)
(no doc)
modules/graph/edges.go
BLEDevNewCallback (FuncType)
(no doc)
network/ble_unsupported.go
EndpointNewCallback (FuncType)
(no doc)
network/lan.go
DebugFunc (FuncType)
(no doc)
network/debug.go
CANDevNewCallback (FuncType)
(no doc)
network/can.go

Core symbols most depended-on inside this repo

t
called by 308
modules/ui/ui/scripts.js
g
called by 302
modules/ui/ui/scripts.js
t
called by 283
modules/ui/ui/assets/openlayers/ol.js
Error
called by 268
modules/can/can_dbc_compile.go
Error
called by 242
session/module.go
String
called by 237
modules/graph/node.go
w
called by 216
modules/ui/ui/scripts.js
w
called by 211
modules/ui/ui/assets/openlayers/ol.js

Shape

Function 6,539
Method 1,129
Struct 250
TypeAlias 41
FuncType 23
Interface 3

Languages

TypeScript70%
Go30%

Modules by API surface

modules/ui/ui/vendor.js3,049 symbols
modules/ui/ui/scripts.js988 symbols
modules/ui/ui/assets/openlayers/ol.js968 symbols
modules/ui/ui/assets/fontawesome/js/fontawesome.js116 symbols
modules/ui/ui/assets/fontawesome/js/all.js116 symbols
modules/ui/ui/polyfills.js111 symbols
modules/ui/ui/assets/fontawesome/js/all.min.js69 symbols
modules/ui/ui/assets/fontawesome/js/fontawesome.min.js68 symbols
session/module.go45 symbols
modules/arp_spoof/arp_spoof_test.go37 symbols
modules/wifi/wifi_show_sort.go36 symbols
modules/ui/ui/main.js33 symbols

Dependencies from manifests, versioned

github.com/acarl005/stripansiv0.0.0-2018011610285 · 1×
github.com/adrianmo/go-nmeav1.10.0 · 1×
github.com/antchfx/jsonqueryv1.3.6 · 1×
github.com/antchfx/xpathv1.3.4 · 1×
github.com/bettercap/gattv0.0.0-2024080811595 · 1×
github.com/bettercap/nrf24v0.0.0-2019021915354 · 1×
github.com/bettercap/readlinev0.0.0-2021022815155 · 1×
github.com/bettercap/recordingv0.0.0-2019040808364 · 1×
github.com/cenkalti/backoffv2.2.1+incompatible · 1×
github.com/chzyer/logexv1.2.1 · 1×
github.com/dustin/go-humanizev1.0.1 · 1×
github.com/elazarl/goproxyv1.7.2 · 1×

For agents

$ claude mcp add bettercap \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact