Commit Graph

57 Commits

Author SHA1 Message Date
Jakub 'unknow' Mrugalski
4eed8da516 Added ruby-dev package for Debian and Kali
Without package "ruby-dev", I got this error on my Kali Linux:

Building native extensions. This could take a while...
ERROR:  Error installing json:
	ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.5.0/gems/json-1.8.6/ext/json/ext/generator
/usr/bin/ruby2.5 -r ./siteconf20190117-11443-w5znm6.rb extconf.rb
mkmf.rb can't find header files for ruby at /usr/lib/ruby/include/ruby.h
2019-01-17 14:37:20 +01:00
Alejandro AR
03d92f25e3 Detects Manjaro as an Arch distro
Manjaro is a distro based on Arch, but it's os-release file is not marked as Arch.
This change provides support to this distribution for easy install.
2019-01-06 13:12:07 -06:00
Ben Passmore
9f1e8f5e8d Updated copyright 2019-01-01 11:57:28 +10:00
Da-FyK
bdc30fd750 Alpine linux support
Added detection of alpine linux and required packages
2018-08-13 12:17:16 +02:00
keeganjk
98530e7e06 Added ruby and ruby-rdoc to Arch installer
Added ruby and ruby-rdoc to Arch installer in case rdoc isn't installed
2018-05-05 13:37:18 -04:00
keeganjk
44cb8e906a Added Arch installer
Added support for Arch Linux in ./install for an automated installation. Installs dependencies (works on my machine, not sure if there are some I missed...)

Assumes that `ruby` is already installed and in the $PATH.
2018-04-27 21:08:11 -04:00
0xmachos
c240d2aae0 install_mac: update brew if check to if not 2018-03-25 12:02:15 +01:00
0xmachos
0d26f9f0bc Update command_exists to work on macOS 2018-03-25 11:31:24 +01:00
0xmachos
ef1d3242f8 Add install_mac logic
Checks if homebrew (brew) is installed then uses it to install the dependencies.

Exits if homebrew is not installed and if homebrew fails to install a package.
2018-03-25 11:31:08 +01:00
Brendan Coles
e0fea2adbf Add FreeBSD to install script 2018-03-18 00:19:25 +00:00
Sebastian Reitenbach
a73a60d0c1 Add support to install script to install BeEF on OpenBSD.
The tricky part is that on OpenBSD, there might be multiple
Ruby versions available in parallel. They are, and the binaries
using each of thse version, suffixed with the version number.
Therefore add a global variable RUBYSUFFIX default to empty,
and when detecting OpenBSD add this suffix to all Ruby commands
from the script.

Also add a simple install_openbsd function just installing
all the system packages.

run the script with "bash install"
and later on run BeEF with "ruby24 beef"
2018-03-17 23:22:22 +01:00
Brendan Coles
d5b284a8da Remove iconv-devel and subversion from installer 2018-03-10 05:29:33 +00:00
0xmachos
633ccdd7ff Merge branch 'master' into master 2018-03-09 14:04:43 +00:00
0xmachos
13d24bfbed Add line between functions 2018-03-09 13:43:49 +00:00
0xmachos
bd0ac9eafd main: add function calls 2018-03-09 13:43:13 +00:00
0xmachos
38c17bacfd Add colour to info, warn and fatal functions 2018-03-09 13:42:30 +00:00
0xmachos
7e00ac2189 Move preamble ascii art to main 2018-03-09 13:41:42 +00:00
0xmachos
86e18aabc1 command_exists: wrap variable in curly braces 2018-03-09 13:39:43 +00:00
0xmachos
0c26203ff7 Convert get user permission steps to function 2018-03-09 13:39:12 +00:00
0xmachos
0d60f3ea60 install_linux: wrap variables in curly braces 2018-03-09 13:38:16 +00:00
0xmachos
5b2abf4441 Convert OS detection steps to function 2018-03-09 13:30:34 +00:00
0xmachos
8ea4e7773a Convert Ruby version detection steps to function 2018-03-09 13:29:24 +00:00
0xmachos
724355e1c3 Remove unused code 2018-03-09 13:28:22 +00:00
0xmachos
2d9ba38048 Convert bundler detection steps to function 2018-03-09 13:23:48 +00:00
0xmachos
1e3b254fc9 Convert bundle install steps to function 2018-03-09 13:23:01 +00:00
Brendan Coles
cf6a72013f Fix command_exists method in install script 2018-03-09 08:32:22 +00:00
Brendan Coles
2d3010dc0b Update install script 2018-03-07 08:54:39 +00:00
Wade Alcorn
fca5279f17 Updated Copyright dates 2018-01-04 09:12:47 +10:00
Brendan Coles
d7fd3acf23 Update minimum supported Ruby version to 2.2 2017-04-10 18:43:16 +00:00
Wade Alcorn
91cc7ed873 Updated Copyright information 2016-12-29 15:50:13 +10:00
Brendan Coles
485049f4c8 Version check to ensure BeEF is running Ruby 2.0+ 2016-01-29 16:25:16 +00:00
Wade Alcorn
ce01d9fa46 updated copyright year 2015-12-30 08:11:57 +10:00
Wade Alcorn
2fbca61368 Updated copyright dates 2014-12-30 07:44:58 +10:00
Wade Alcorn
8003f1a47f Updated the copyright year to 2014 2014-01-01 16:34:15 +10:00
Wade Alcorn
fe40038441 Updated copyright year to 2013 2012-12-30 12:47:43 +10:00
Wade Alcorn
b68df3d024 Changed license header 2012-11-02 14:05:15 +10:00
Saafan
c1ad9d7b04 Testing fork/merge 2012-03-05 17:47:14 +02:00
Ben
def8677f1c Updated README instructions for MAC OS X 2012-02-15 17:52:54 +10:00
Wade Alcorn
06899ca267 Year updated from 2011 to 2012 2011-12-31 22:24:36 +10:00
Christian Frichot
d2f4fddc34 Gem management is now handled by Bundler - updated README and install to advise. Eventually we can remove the install script 2011-12-31 15:33:32 +08:00
Scott Brown
5e05c4a0ff Update 2011-12-08 10:03:04 +10:00
Christian Frichot
9c7bc0ea51 Removed core dependancy on librex - installer advises, but doesn't install. Beef does NOT require librex, unless you actually enable the console.shell extension 2011-11-24 22:06:21 +08:00
Wade
d098797a33 added ruby 1.9 osx install command if using ruby 1.8 2011-11-23 18:09:03 +10:00
Wade
665f66679d Added 'thin' to install gems 2011-11-21 07:31:27 +10:00
antisnatchor
c6b31fc3cc Issue 566: specified exact version of librex (0.0.52) in the install script to prevent errors in Windows.
git-svn-id: https://beef.googlecode.com/svn/trunk@1428 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-11-11 16:51:50 +00:00
xntrik
6dc5a55bed Fixes Issue 493 - Installer now doesn't install doco
git-svn-id: https://beef.googlecode.com/svn/trunk@1306 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-24 11:35:38 +00:00
wade@bindshell.net
565d1ac490 removed duplicate line
git-svn-id: https://beef.googlecode.com/svn/trunk@1264 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-09-09 11:35:08 +00:00
xntrik
92c422096e (Fixes issue 386) Updated 'console' extension to incorporate MSFs Rex Library for an interactive shell
git-svn-id: https://beef.googlecode.com/svn/trunk@1221 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-20 02:45:14 +00:00
wade@bindshell.net
c19873e12d small type fixed
git-svn-id: https://beef.googlecode.com/svn/trunk@1218 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-08-19 20:05:13 +00:00
wade@bindshell.net
090d9d6782 Removed support for Ruby 1.8. Fixes issue 389.
git-svn-id: https://beef.googlecode.com/svn/trunk@1068 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-17 00:50:32 +00:00