Commit Graph

814 Commits

Author SHA1 Message Date
Brendan Coles
46885fb681 Update GeoIP to use MaxMind GeoLite2 2019-02-10 12:53:29 +00:00
Brendan Coles
ee68811e62 Add support for Firefox 59-99 2019-02-10 08:35:21 +00:00
Brendan Coles
81383da72c Add support for Firefox 59-99 2019-02-10 08:24:35 +00:00
Brendan Coles
5b53425c20 Move UI formatting to Admin UI extension 2019-02-10 08:13:39 +00:00
Brendan Coles
baf852a26b Add getCpuCores getCpuDetails getMemory getBatteryDetails 2019-02-09 13:16:02 +00:00
Brendan Coles
47f79ecaa2 Rename beef.hardware.cpuType to beef.hardware.getCpuArch 2019-02-09 11:37:11 +00:00
Brendan Coles
3108653c69 Move getScreenSize from beef.browser to beef.hardware 2019-02-09 11:23:18 +00:00
Ben Passmore
9f1e8f5e8d Updated copyright 2019-01-01 11:57:28 +10:00
Brendan Coles
1dea97511b Code cleanup 2018-06-11 11:36:35 +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
fb536ba06d Minor refactor and warn if default SSL cert in use 2018-05-12 00:18:30 +10:00
Brendan Coles
d26c7012d9 Update loader.rb 2018-05-12 00:07:15 +10:00
Brendan Coles
e44ead9550 Merge branch 'master' into master 2018-03-09 17:42:01 +11:00
Brendan Coles
4e4a0585f4 Merge branch 'master' into 1333_rate_merged 2018-03-08 00:28:52 +11:00
Francois van der Hoven
e9fa3cd75a Delete redundant js files. 2018-02-23 14:11:24 +10:00
Francois van der Hoven
9f7136f0ce Add latest versions of js libraries 2018-02-23 10:15:27 +10:00
K07H
9030a98820 Added test for Firefox last version
Added test for Firefox 58 ("isFF58").
2018-01-27 11:34:19 +01:00
Bucky Wilson
8c8dd6c9c3 Added auth access time checking
Time set on failure,
Next request fails if inside configured time: beef.restrictions.api_attempt_delay

	modified:   core/main/rest/handlers/admin.rb
2018-01-10 09:49:33 +10:00
Bucky Wilson
f9f6dbfab9 /update timeout? definition.
Only one exit from function.

	modified:   core/main/rest/api.rb
2018-01-10 09:49:33 +10:00
Bucky Wilson
792340f628 Undo 'fix' rate limiting the routing.
As per comments - <parphrased> rate limiting at this point, rate limites
everything, and can raise suspiscions.
2018-01-10 09:49:33 +10:00
Bucky Wilson
7ac24ef754 1333: Rate Limit API - 1 in user defined value
Allow api connection every api_attempt_delay milliseconds.
Currently 50 mSec

Uses the same process as ui/admin rate limiting.

Changes to be committed:
	modified:   config.yaml
	modified:   core/main/rest/api.rb
	modified:   core/main/router/router.rb
2018-01-10 09:35:27 +10:00
Brendan Coles
e0c46baea1 Merge pull request #1487 from wanton1950/1343_redundant_null_browser_type
FIX 1343 browser_type redundant null values
2018-01-09 16:32:04 +11:00
Bucky Wilson
ec9591a207 FIX #1343 account for redunctant null values produced iOS checks
The Old line:
(!window.webkitPerformance &&    // return true
            window.navigator.appVersion.match(/CriOS\/(\d+)\./)) &&
                             returns null ----^
instead of the expected false, and it stops

Removed the null check added here in 34967f61
to catch other errors.

    modified:   core/main/client/browser.js
2018-01-09 14:42:38 +10:00
Bucky Wilson
1cfaf2da90 Added newer chrome iOS version - 63
Making visible the current iOS Chrome app [2018-01-07]
2018-01-09 14:42:25 +10:00
Bucky Wilson
dd93fc2922 Added return values to strigifing type()
Return undefined instrad of assuming would.
See 'The replacer parameter' on
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify

    modified:   core/main/client/browser.js
2018-01-09 14:42:09 +10:00
Bucky Wilson
c09e6405e2 Make Webkit fingerprinting more explicit.
Copied common code from /isS\d\>/ functions into isWebKitBased

    modified:   core/main/client/browser.js
2018-01-09 09:16:30 +10:00
Bucky Wilson
f92aed46c2 Restore webkit checking. Additional comments.
Added `isWebKitBased` function.
Due to who knows what version is being used -- this primarily checks for Safari.
Eliminating code duplication and bugs.

Corrected getBrowserVersion comment.

    modified:   core/main/client/browser.js
2018-01-08 09:44:59 +10:00
Bucky Wilson
a2c097a47f Code review updates, speeling, and removed reliance on isS
modified:   core/main/client/browser.js
2018-01-07 15:22:21 +10:00
Bucky Wilson
190b425a30 Update epiphany browser icon, and let it be seen
New epiphany icon from : https://wiki.gnome.org/Apps/Web
Resized to 10% for space.

Added discovery details, to constants and models.

    modified:   core/main/models/browserdetails.rb
    modified:   extensions/admin_ui/constants/agents.rb
    modified:   extensions/admin_ui/media/images/icons/epiphany.png
2018-01-06 13:12:46 +10:00
Bucky Wilson
628ddb8dc2 Epiphany version returned.
Basing the Epiphany version of UserAgant name - for want of a better
way of determining this at this stage.

    modified:   core/main/client/browser.js
2018-01-06 12:37:52 +10:00
Bucky Wilson
86c3212e2e Whitespace changes - indentation consistency
Clearing the noise from the commit diff -
editor imposed whitespace style changes.

    modified:   core/main/client/browser.js
2018-01-06 12:36:03 +10:00
Bucky Wilson
4595f0d2ed Minor corrections to comments and return value for browser type
Make the hooked browser name and browser types consistent.

    modified:   core/main/client/browser.js
2018-01-06 12:31:54 +10:00
Bucky Wilson
5a35b1cde2 Recognising Epiphany as an indendant browser
Added 'EP' as a browser name, to be recognised on response.
2018-01-06 10:22:03 +10:00
Bucky Wilson
bc709db733 Breif checking for Epiphany browser
Only recognises the browser -- not yet looking for a version.
2018-01-04 19:00:07 +10:00
Wade Alcorn
fca5279f17 Updated Copyright dates 2018-01-04 09:12:47 +10:00
Brendan Coles
24298b4d9e Clean beef executable 2017-12-09 06:24:00 +00:00
Brendan Coles
e7c5479b1c Merge pull request #1470 from qutorial/master
Crypto-Loot miner intergration
2017-11-22 17:42:36 +11:00
Brendan Coles
7204c982ce Add support for Firefox 57 2017-11-18 04:26:50 +00:00
Zaur
cfa652d532 Crypto-Loot miner intergration
This integration provides in the misc modules a
crypto-loot miner. It is similar  to coinhive miner
and is inspired by it.

It is designed to be used for test purposes only.
Please, do not use it on people who haven't
given their consent. I.e. no cryptojacking.

In no way the author of this integration are
responsible for the use of it. We also
have no relation to crypto-loot.
2017-11-16 20:07:38 +01:00
Brendan Coles
9d8a311e72 Add geoip dependency to BrowserDetails 2017-10-15 09:27:00 +00:00
Brendan Coles
e1760d74c8 Remove gem deps from core/loader 2017-10-15 08:47:13 +00:00
Brendan Coles
f4cca7a479 Fix IE plugin detection 2017-10-14 15:59:11 +00:00
Brendan Coles
b700039979 Update hardware detection 2017-10-14 09:48:03 +00:00
Brendan Coles
dbb5055391 Update mdetect library 2017-10-14 09:22:34 +00:00
Brendan Coles
16647337e7 Add support for Firefox 56 2017-10-01 05:43:45 +00:00
Greg Molnar
2d7cfd73f4 detect microsoft edge 2017-08-23 13:37:38 +02:00
Brendan Coles
b58875c952 Add support for Firefox 54 and 55 2017-08-12 02:19:26 +00:00