From cecd6cb14a305d570056962cb8a1cce709df7ae8 Mon Sep 17 00:00:00 2001 From: antisnatchor Date: Wed, 18 Apr 2012 15:19:34 +0100 Subject: [PATCH] Slightly changed comments on websocket.rb --- core/main/network_stack/websocket/websocket.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/main/network_stack/websocket/websocket.rb b/core/main/network_stack/websocket/websocket.rb index d8f018ec1..a9a625d8c 100644 --- a/core/main/network_stack/websocket/websocket.rb +++ b/core/main/network_stack/websocket/websocket.rb @@ -48,14 +48,14 @@ module BeEF messageHash= JSON.parse("#{message}") #@note messageHash[result] is Base64 encoded if (messageHash["cookie"]!= nil) - print_info("Browser #{ws.origin} says helo! ws is running") + print_info("Browser #{ws.origin} says helo! WebSocket is running") #insert new connection in activesocket @@activeSocket["#{messageHash["cookie"]}"] = ws print_debug("In activesocket we have #{@@activeSocket}") else #json recv is a cmd response decode and send all to #we have to call dynamicreconstructor handler camp must be websocket - print_info("We recived that #{messageHash}") + print_debug("Received from WebSocket #{messageHash}") execute(messageHash) end end