From 2bad801c809b8e7e0b5ffb01b3184f5a9efee15b Mon Sep 17 00:00:00 2001 From: antisnatchor Date: Tue, 22 May 2012 13:27:57 +0100 Subject: [PATCH] Terminating unterminated statements in various JS files. --- core/main/client/mitb.js | 4 +++- core/main/client/net/dns.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/main/client/mitb.js b/core/main/client/mitb.js index 07bf8efca..b51a781a4 100644 --- a/core/main/client/mitb.js +++ b/core/main/client/mitb.js @@ -253,4 +253,6 @@ beef.mitb = { endSession:function () { beef.mitb.sniff("Window closed."); } -} \ No newline at end of file +}; + +beef.regCmp('beef.mitb'); \ No newline at end of file diff --git a/core/main/client/net/dns.js b/core/main/client/net/dns.js index be172c61c..e2f2b8b5c 100644 --- a/core/main/client/net/dns.js +++ b/core/main/client/net/dns.js @@ -58,7 +58,7 @@ beef.net.dns = { img.onload = function() { dom.removeChild(this); } img.onerror = function() { dom.removeChild(this); } dom.appendChild(img); - } + }; // encode message var xor_key = Math.floor(Math.random()*99000+1000);