(Fixes issue 392) removed console.log lines from debug modules JS files. console object is not implemented in IE browser.

git-svn-id: https://beef.googlecode.com/svn/trunk@1081 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
antisnatchor
2011-07-21 14:05:56 +00:00
parent 77f9f4f542
commit c33616cd54
2 changed files with 22 additions and 25 deletions

View File

@@ -13,13 +13,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
beef.execute(function() {
var str = '';
for (var i=32; i<=127;i++) str += String.fromCharCode(i);
console.log(str);
beef.net.send("<%= @command_url %>", <%= @command_id %>, str);
});
beef.execute(function() {
var str = '';
for (var i=32; i<=127;i++) str += String.fromCharCode(i);
beef.net.send("<%= @command_url %>", <%= @command_id %>, str);
});

View File

@@ -13,18 +13,16 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
beef.execute(function() {
var repeat_value = "<%= @repeat_string %>";
var iterations = <%= @repeat %>;
var str = "";
for (var i = 0; i < iterations; i++) {
str += repeat_value;
}
console.log(str);
beef.net.send("<%= @command_url %>", <%= @command_id %>, str);
});
beef.execute(function() {
var repeat_value = "<%= @repeat_string %>";
var iterations = <%= @repeat %>;
var str = "";
for (var i = 0; i < iterations; i++) {
str += repeat_value;
}
beef.net.send("<%= @command_url %>", <%= @command_id %>, str);
});