Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/INSTALL.txt
1140 views
1
===============================================================================
2
3
Copyright (c) 2006-2025 Wade Alcorn - [email protected]
4
Browser Exploitation Framework (BeEF) - https://beefproject.com
5
See the file 'doc/COPYING' for copying permission
6
7
===============================================================================
8
9
Source
10
------
11
12
Obtain application source code either by downloading the latest archive:
13
14
$ wget https://github.com/beefproject/beef/archive/master.zip
15
16
Or cloning the Git repository from Github:
17
18
$ git clone https://github.com/beefproject/beef
19
20
21
Prerequisites
22
--------------
23
24
BeEF requires Ruby 3.0+.
25
26
If your operating system package manager does not support Ruby version 3.0,
27
you can add the brightbox ppa repository for the latest version of Ruby:
28
29
$ sudo apt-add-repository -y ppa:brightbox/ruby-ng
30
31
Alternatively, consider using a Ruby environment manager such as rbenv or rvm
32
to manager your Ruby versions. Refer to the following for more information:
33
34
* rbenv: https://github.com/rbenv/rbenv
35
* rvm: https://rvm.io/rvm/install
36
37
38
Installation
39
------------
40
41
Once Ruby is installed, run the install script in the BeEF directory:
42
43
./install
44
45
This script installs the required operating system packages and all the
46
prerequisite Ruby gems.
47
48
Upon successful installation, be sure to read the Configuration page
49
on the wiki for important details on configuring and securing BeEF.
50
51
https://github.com/beefproject/beef/wiki/Configuration
52
53
54
Start BeEF
55
----------
56
57
To start BeEF, simply run:
58
59
$ ./beef
60
61
62
Updating
63
--------
64
65
Due to the fast-paced nature of web browser development and webappsec landscape,
66
it's best to regularly update BeEF to the latest version.
67
68
If you're using BeEF from the GitHub repository, updating is as simple as:
69
70
$ ./update-beef
71
72
Or pull the latest repo yourself and then update the gems with:
73
74
$ git pull
75
76
$ bundle
77
78
79