Petko Bordjukov
487c71bedd
Remove the dependency on therubyracer
...
therubyracer has long been unmaintained which is causing both security and build
issues to go unfixed. As beef depends on it only to provide a JS runtime for
execjs, we can drop it and require users to install Node.js. execjs
automatically finds the node binary and uses it as a JS runtime.
This fixes #1478 , #1045 , #1046 , #1249 , #1374 , #1377 , #1395 , #1396 , #1428 , #1429
This also fixes #1433 , #1502 , #1504 , #1540 , #1545 , #1547
2018-07-19 12:12:05 +03:00
Brendan Coles
0a415b2252
Update rake and sinatra gems to 2.0+
2018-07-19 07:41:47 +00:00
Brendan Coles
5b771274fb
Revent client jQuery from 3.3.1 to 1.12.4
2018-07-19 07:07:49 +00:00
Brendan Coles
07c5473edf
gem 'sinatra', '~> 1.2'
2018-07-19 02:33:21 +10:00
Brendan Coles
ba5f793b93
Add Get Geolocation (Third-Party) command module
2018-07-15 12:48:44 +00:00
Brendan Coles
445cbb02b2
Merge pull request #1586 from Dimansel/README.md-patch-1
...
Fix link to the Ruby website
2018-07-07 14:56:34 +10:00
Dmitry
2410a3bd8a
Fix link to the Ruby website
2018-07-06 14:48:04 -04:00
Brendan Coles
1dea97511b
Code cleanup
2018-06-11 11:36:35 +00:00
Brendan Coles
21af0ae705
Warn on Event Logger load if WebSockets are enabled
2018-06-11 11:36:09 +00:00
Brendan Coles
bebe6b81b0
Add support for Firefox 59-99 and Chrome 59-99
2018-06-11 05:39:16 +00:00
Brendan Coles
9ba4b10b40
Rollback hook jQuery version to 1.12.4 to support IE6-8
2018-06-11 05:05:29 +00:00
Brendan Coles
8e90587a77
Allow absolute paths for SSL cert and key
2018-06-04 11:28:42 +00:00
Brendan Coles
66cb048ed7
Fix startup banners for public host/port
2018-06-04 07:57:21 +00:00
Brendan Coles
7da834bebe
Merge pull request #1549 from AmirHosseinKarimi/master
...
Fix Webcam(Adobe Flash) incorrect base64 data image
2018-05-12 00:42:36 +10:00
Brendan Coles
07c0d84545
Merge pull request #1561 from beefproject/warn-on-default-cert
...
Minor refactor and warn if default SSL cert in use
2018-05-12 00:18:54 +10:00
Brendan Coles
fb536ba06d
Minor refactor and warn if default SSL cert in use
2018-05-12 00:18:30 +10:00
Brendan Coles
7998f227c0
Merge pull request #1560 from beefproject/core-loader
...
Update core/loader.rb
2018-05-12 00:08:11 +10:00
Brendan Coles
d26c7012d9
Update loader.rb
2018-05-12 00:07:15 +10:00
Brendan Coles
6dc6dd997a
Merge pull request #1556 from keeganjk/patch-1
...
Added ruby and ruby-rdoc to Arch installer
2018-05-11 17:07:02 +10: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
Amir Hossein Karimi
eb15ae1d03
Fix Webcam(Flash) incorrect base64 data image
2018-05-02 02:16:55 +04:30
Brendan Coles
903f3bf998
Hard code gem 'therubyracer', '0.12.3' for Linux systems
...
Parrot and Kali now support therubyracer version 0.12.3
2018-05-01 21:50:37 +10:00
Brendan Coles
50f6876ec8
Merge pull request #1546 from keeganjk/patch-1
...
Added Arch installer
2018-04-28 11:14:17 +10: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
Brendan Coles
26f176c308
Merge pull request #1539 from clod81/fix_jsonp
...
Fix JSONP persistence module
2018-04-10 11:10:29 +10:00
Claudio Contin
2c788da9e4
fix module
2018-04-10 11:53:24 +12:00
Brendan Coles
f3930e9246
Allow update-beef script to update dependencies
2018-04-02 00:25:43 +10:00
Brendan Coles
84208e817d
Merge pull request #1527 from 0xmachos/master
...
Add install_mac logic
2018-03-25 22:42:12 +11: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
Brendan Coles
10475860ee
Merge pull request #1525 from buzzdeee/master
...
Add support to install script to install BeEF on OpenBSD.
2018-03-18 10:14:18 +11: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
22dc2f9296
Use gem 'rack-protection', '~> 2.0.1'
2018-03-12 05:59:49 +00:00
Brendan Coles
eed53cd0eb
Downgrade therubyracer for Kali and Parrot OS
2018-03-11 07:31:15 +00:00
Brendan Coles
30b0ec5f6e
Water is wet
2018-03-10 06:24:00 +00:00
Brendan Coles
d5b284a8da
Remove iconv-devel and subversion from installer
2018-03-10 05:29:33 +00:00
Brendan Coles
acc589fdb7
Merge pull request #1518 from 0xmachos/master
...
Refactor install for #1477
2018-03-10 01:06:16 +11: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