class Collect_links < BeEF::Core::Command def initialize super({ 'Name' => 'Collect Links', 'Description' => %Q{ This module will retrieve HREFs from the target page }, 'Category' => 'Recon', 'Author' => ['vo'], 'File' => __FILE__ }) set_target({ 'verified_status' => VERIFIED_WORKING, 'browser_name' => ALL }) use 'beef.dom' use_template! end def callback content = {} content['Links'] = @datastore['links'] save content end end