MCPcopy Index your code
hub / github.com/beefproject/beef

github.com/beefproject/beef @v0.6.0.0

repository ↗ · DeepWiki ↗ · release v0.6.0.0 ↗ · Ask this repo → · + Follow
1,217 symbols 3,735 edges 412 files 25 documented · 2% updated 4d agov0.6.0.0 · 2025-10-24★ 10,92234 open issues
README

===============================================================================

Copyright (c) 2006-2025 Wade Alcorn - wade@bindshell.net
Browser Exploitation Framework (BeEF) - https://beefproject.com
See the file 'doc/COPYING' for copying permission

===============================================================================

What is BeEF?

BeEF is short for The Browser Exploitation Framework. It is a penetration testing tool that focuses on the web browser.

Amid growing concerns about web-borne attacks against clients, including mobile clients, BeEF allows the professional penetration tester to assess the actual security posture of a target environment by using client-side attack vectors. Unlike other security frameworks, BeEF looks past the hardened network perimeter and client system, and examines exploitability within the context of the one open door: the web browser. BeEF will hook one or more web browsers and use them as beachheads for launching directed command modules and further attacks against the system from within the browser context.

Get Involved

You can get in touch with the BeEF team. Just check out the following:

Please, send us pull requests!

Web: https://beefproject.com/

Bugs: https://github.com/beefproject/beef/issues

Security Bugs: security@beefproject.com

Twitter: @beefproject

Discord: https://discord.gg/25wT2P8pwx

Requirements

  • Operating System: Mac OSX 10.5.0 or higher / modern Linux. Note: Windows is not supported.
  • Ruby: 3.0 or newer
  • SQLite: 3.x
  • Node.js: 10 or newer
  • The gems listed in the Gemfile: https://github.com/beefproject/beef/blob/master/Gemfile
  • Selenium is required on OSX: brew install selenium-server-standalone (See https://github.com/shvets/selenium)

Quick Start

The following is for the impatient.

The install script installs the required operating system packages and all the prerequisite Ruby gems:

$ ./install

For full installation details, please refer to INSTALL.txt or the Installation page on the wiki.

Upon successful installation, be sure to read the Configuration page on the wiki for important details on configuring and securing BeEF.

Documentation

Usage

To get started, simply execute beef and follow the instructions:

$ ./beef

Core symbols most depended-on inside this repo

execute
called by 312
modules/exploits/local_host/signed_applet_dropper/applet/SignedApplet.java
setTimeout
called by 259
modules/exploits/firephp/payload.js
p
called by 100
extensions/admin_ui/media/javascript/ext-all.js
a
called by 49
extensions/admin_ui/media/javascript/ext-all.js
c
called by 43
extensions/admin_ui/media/javascript/ext-all.js
init
called by 35
modules/network/ping_sweep_java/pingSweep.java
g
called by 33
extensions/admin_ui/media/javascript/ext-all.js
migrateWarn
called by 31
core/main/client/lib/jquery-migrate-1.4.1.js

Shape

Function 1,187
Method 23
Class 7

Languages

TypeScript98%
Java2%

Modules by API surface

extensions/admin_ui/media/javascript/vis.js/vis.min.js243 symbols
extensions/admin_ui/media/javascript/esapi/jquery-3.3.1.min.js92 symbols
extensions/demos/html/butcher/jquery-1.12.4.min.js86 symbols
core/main/client/lib/jquery-1.12.4.min.js86 symbols
modules/browser/fingerprint_browser/fingerprint2.js81 symbols
core/main/client/lib/bowser-2.11.0.min.js61 symbols
extensions/admin_ui/media/javascript/ext-all.js60 symbols
modules/browser/spyder_eye/html2canvas.min.js39 symbols
extensions/admin_ui/media/javascript/ext-base.js26 symbols
modules/network/cross_origin_scanner_flash/swfobject.js22 symbols
modules/browser/webcam_permission_check/swfobject.js22 symbols
modules/browser/webcam_flash/swfobject.js22 symbols

Dependencies from manifests, versioned

jsdoc4.0.5 · 1×
jsdoc-to-markdown9.1.3 · 1×

For agents

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

⬇ download graph artifact