Commit Graph

93 Commits

Author SHA1 Message Date
Stephen
4e9fdb4f18 Changed rescue message print_error to print_debug 2023-09-30 12:53:46 +10:00
bcoles
eb5959a975 WebSockets: flush beef.net.queue during keepalive (#2806) 2023-04-04 03:42:50 +10:00
bcoles
221fbddec2 AutorunEngine: Cleanup, rename REST routes, use Core::Models in REST API (#2785)
* arerules: Remove os/browser properties with redundant 'ALL' values

* Tools: Add Autorun REST examples

* AutorunEngine: Cleanup, rename REST routes, use Core::Models in REST API
2023-04-02 20:04:38 +10:00
jcrew99
486a9bb329 Update copyright 2023 (#2675)
* updated copyright

* reverted gemfile lock changes
2022-12-31 15:36:07 +10:00
bcoles
124c9d60b3 Core: Resolve many Rubocop violations (#2282) 2022-01-24 16:25:39 +11:00
wheatley
f33e2698a0 MAINTAINABILITY: 2257 update copyright 2022 (#2259)
* 2257 updated copyright date
2021-12-31 09:48:08 +10:00
J
4ec6ecee27 updated all of the copyright information 2021-01-11 04:48:56 +10:00
Josh
1aa76f93cb fixed a few spelling mistakes and changed the name 2020-04-15 16:00:19 -07:00
Josh
a84dbcb005 this was a change that needed to be update 2020-04-01 19:15:07 -07:00
Brendan Coles
976eb5ec1c Add error handling and minor code cleanup 2020-01-14 07:06:55 +00:00
beep
470b3483d0 Update copyright information 2020-01-01 18:47:08 -08:00
Ben Passmore
fce763e9f3 AR covert websocket 2019-11-03 08:04:38 +10:00
Brendan Coles
13c539effe Add logger - Fixes #1698 2019-03-03 20:20:37 +00:00
Brendan Coles
03424c804e Update BrowserDetails to store textual OID-style key/value data 2019-02-26 15:22:54 +00:00
Brendan Coles
41e5d1d0c0 Cleanup WebSocket code 2019-02-21 11:31:41 +00:00
Brendan Coles
4dd7230c40 cleanup 2019-02-16 12:54:09 +00:00
Ben Passmore
9f1e8f5e8d Updated copyright 2019-01-01 11:57:28 +10:00
Brendan Coles
8e90587a77 Allow absolute paths for SSL cert and key 2018-06-04 11:28:42 +00:00
Wade Alcorn
fca5279f17 Updated Copyright dates 2018-01-04 09:12:47 +10:00
Wade Alcorn
91cc7ed873 Updated Copyright information 2016-12-29 15:50:13 +10:00
Brendan Coles
4e741a067b Add bind_cached 2016-05-28 05:44:04 +00:00
antisnatchor
c700bb3013 Added ws_connect_timeout option to delay of 500 ms the establishment of the WS channel. This is needed to wait for browser fingerprinting to finish, in order to have all the info needed for triggering ARE rules using WS channel. 2016-04-03 15:16:14 +02:00
antisnatchor
edb44644fc Now ARE rules are triggered also when using the WebSocket channel. 2016-04-02 13:05:58 +02:00
antisnatchor
e772e683fd Issue #1214. Now command module post_execute is honoured also with WebSockets channel. 2016-03-31 09:56:40 +02:00
antisnatchor
9905756c0a Additional fix related to #1210 (removing leading/trailing doubel quotes from the command results if channel is WebSocket) 2016-03-31 08:03:06 +02:00
antisnatchor
39a010fa63 Fixes #1210 2016-03-30 12:30:11 +02:00
Brendan Coles
19563d696f Save command status when using websockets - Fix #1200 2016-01-27 16:50:51 +00:00
Wade Alcorn
ce01d9fa46 updated copyright year 2015-12-30 08:11:57 +10:00
antisnatchor
ea9549adbe Fixed issue with latest Rack. Now using mime/types to return the right content-type based on file extension when using AssetHandler.bind. 2015-07-05 12:44:00 +02:00
Brendan Coles
e17a48fae2 rescue TypeError, ArgumentError 2015-06-22 09:35:31 +00:00
antisnatchor
518fb5d874 Fixed bug in binding local files. 2015-06-09 12:20:20 +02:00
radoen
4db4354c24 Fixed JSON parsing error to prevent DoS 2015-05-04 09:42:09 +02: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
bcoles
02e6d4db11 Rescue StandardError rather than Exception 2013-12-30 06:41:07 +10:30
bcoles
0d8521dd7b Add 'bind_raw' to asset handler 2013-02-23 16:57:47 +10:30
Christian Frichot
2d9b894a3c Added some further comments to the new AssetHandler redirector. See #664 2013-01-20 17:03:26 +08:00
Christian Frichot
3c4a0fad34 New bind_redirect method added to the AssetHandler. See #664 2013-01-20 16:59:01 +08: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
antisnatchor
cbbb9e0d67 Added feature to bind_socket in AssetHandler: now it's possible to retrieve the raw data sent to the socket. 2012-10-22 15:24:21 +11:00
antisnatchor
50e7a1c206 Refactored WebSocket code. 2012-08-25 10:18:56 +01:00
radoen
5697eac123 Added support for wss, issue #714 2012-08-10 13:43:48 +02:00
antisnatchor
71fb6ae089 bind_socket: receive buffer length increased to 1024 bytes 2012-07-23 18:25:55 +01:00
antisnatchor
6139da2161 Managing the famous if data == buffer_length case while receiving data in socket (bind_socket) 2012-07-23 11:05:38 +01:00
antisnatchor
6342fdad77 Fixec and enhanced the bind_socket method in AssetHandler. Multi-thread, close socket when no more data is received, print_debug raw request 2012-07-23 10:55:41 +01:00
antisnatchor
be71984362 Patched bind_socket: support multiple clients, don't close the client socket 2012-07-15 17:26:01 +01:00
antisnatchor
6dbf64cfa7 Added bind_socket/unbind_socket to AssetHandler 2012-07-15 12:57:21 +01:00
antisnatchor
51b27709dd Merge remote-tracking branch 'upstream/master'. WS: added stringifying command results in beef.net.send 2012-05-19 19:19:03 +01:00
antisnatchor
247e0e9a62 Issue 676. Now we use em-websocket for WebSocket server side. Instead of threads we use events with EventMachine. Faster and consumes less memory. 2012-05-11 15:58:59 +01:00