(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:
@@ -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);
|
||||
|
||||
});
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user