Files
beef/modules/browser/get_visited_urls/module.rb
2025-12-26 19:18:05 +10:00

22 lines
552 B
Ruby

#
# Copyright (c) 2006-2026 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Get_visited_urls < BeEF::Core::Command
def self.options
[
{ 'ui_label' => 'URL(s)',
'name' => 'urls',
'description' => 'Enter target URL(s)',
'type' => 'textarea',
'value' => 'https://beefproject.com/',
'width' => '200px' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end