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
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
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
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