Skip to content

Module: Test Returning Results

Haoxi Tan edited this page Jan 9, 2020 · 2 revisions

Summary

  • Objective: Return a string of the specified length

  • Authors: wade

  • Browsers: All

  • Code

Internal Working

just sends back all ascii chars within printable range

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, beef.are.status_success());

Feedback

Clone this wiki locally