Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit

Applied consistent formatting
Minimized layer overhead
Improved port handling (making it modifiable from docker build)

Co-authored-by: Fabian Portner <>

Git stats


Failed to load latest commit information.
Latest commit message
Commit time
September 21, 2022 22:21
April 7, 2020 00:56
December 31, 2022 15:36
December 31, 2022 15:36
December 31, 2022 15:36
December 31, 2022 15:36
October 15, 2021 14:22
December 31, 2022 15:36
December 31, 2022 15:36
December 31, 2022 15:36
February 16, 2019 13:51
February 16, 2019 13:51
January 2, 2020 16:30
December 31, 2022 15:36
November 26, 2021 12:00
December 31, 2022 15:36


Copyright (c) 2006-2023 Wade Alcorn -
Browser Exploitation Framework (BeEF) -
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!



Security Bugs:

Twitter: @beefproject



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.



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

$ ./beef