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
antisnatchor
256ef0f2e8
Fix issue 673 (command module friendly name in WebSocket fork)
2012-05-11 11:12:12 +01:00
antisnatchor
fdad068ee5
Fix issue 674 (NilClass issue)
2012-05-10 13:54:40 +01:00
antisnatchor
2c19a3a8d8
Fixed issue when hooking a browser that contains other cookies than BEEFHOOK. now "alive" send back only the BeEF session value
2012-05-02 14:01:04 +03:00
antisnatchor
9ae0929a8c
Merge remote-tracking branch 'upstream/master'
2012-05-02 13:04:51 +03:00
Graziano Felline
97c2649e36
Corrected issues on IE browser (IE8 IE9) to check IE6 -IE7
...
Corrected Issues whit character encoding
2012-04-20 19:17:34 +02:00
antisnatchor
5a345abfab
Added print_info when unmounting a url (assethandler)
2012-04-20 14:08:08 +01:00
Graziano Felline
c83e7d584e
Now the Alive check is by ws Timer 5 second
...
Tested And work
2012-04-19 19:30:19 +02:00
antisnatchor
b41c6e8559
Catched JSON::ParserError exception when a client abruptly disconnects (i.e.: closing the browser manually, or the hooked tab)
2012-04-18 16:56:43 +01:00
antisnatchor
cecd6cb14a
Slightly changed comments on websocket.rb
2012-04-18 15:19:34 +01:00
antisnatchor
43f82b0c72
Removed not needed line
2012-04-18 14:41:49 +01:00
Graziano Felline
656262c0f4
Basic response recv system implemented
...
todo ping-pong for alive host. thread's content is in websocket.rb
todo setting up a separate handler for via ws answer's
2012-04-18 12:00:17 +02:00
antisnatchor
2198c69aa8
Merge remote-tracking branch 'upstream/master'. Fixed conflicts on config.yaml.
2012-04-14 20:44:17 +01:00
Graziano Felline
2755c6449c
Deleted some stuff that does not work correctly in old browser (IE 8)
...
Better check for FF
Cleand up inside the code
2012-04-14 19:42:53 +02:00
Graziano Felline
65138db207
Commands are now sent through websocket
...
Trouble with eval function in websocket.js
2012-04-13 12:45:48 +02:00
Graziano Felline
23f782b8d8
Hook.js load websocket.js only if specifield in beef configuration file
...
if websocket is disabled all work normally
if websocket is enabled have trouble in command.rb
2012-04-12 19:01:49 +02:00
Graziano Felline
af9b3c97b5
Added polling stop if websocket is up in updater.js
...
added hash for websocket in websocket.rb
added check for websocket existence in command.rb and net.js
added a POC onmessage function in websocket.js
added check for websocket support in init.js
added a POC send to send command output to server in beef.js
2012-04-11 20:52:47 +02:00
antisnatchor
8cac63a2f0
Issue 654: if /dh handler is called without params, return 404
2012-04-09 11:03:02 +01:00
antisnatchor
c60825faae
Issue 654: adjusted DynamicReconstruction handler to extend the Router class
2012-04-09 10:33:23 +01:00
antisnatchor
b08326ebcc
fixed typo in ws.receive
2012-04-07 13:41:58 +01:00
antisnatchor
552beb4ccd
changed allowed origins to ALL
2012-04-07 13:40:18 +01:00
antisnatchor
faae01a9aa
Changed default websocket port
2012-04-07 13:34:21 +01:00
Graziano Felline
ce8919297f
Merge remote-tracking branch 'origin/master'
...
Conflicts:
core/main/network_stack/websocket/websocket.rb
2012-04-07 14:21:41 +02:00
Graziano Felline
bcd0ff154f
Added websocket.js in beefjs.rb
2012-04-07 14:20:47 +02:00
antisnatchor
fe588cd2a0
Merge branch 'master' of https://github.com/radoen/beef-radoen
...
Conflicts:
core/main/network_stack/websocket/websocket.rb
2012-04-07 13:07:17 +01:00
Graziano Felline
e1134e2fa6
Thread for websocket
2012-04-07 14:01:37 +02:00
antisnatchor
a5504a5b11
Printing nice print_into about the websocket
2012-04-07 12:59:24 +01:00
antisnatchor
64cee24c65
Added WebSocket config options for enable, secure and port
2012-04-07 12:46:57 +01:00
antisnatchor
236c8a81b6
Fixed issue with lib loading and WebSocket server initalization
2012-04-07 12:31:37 +01:00
Graziano Felline
d3e2e1eb30
Inserted module in bootstrap
2012-04-07 12:56:06 +02:00
Graziano Felline
736c81573e
Setting up structures and server/client environment.
...
A lot of TODO
2012-04-06 02:21:40 +02:00