Files
2025-12-26 19:18:05 +10:00

18 lines
572 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 Spoof_addressbar_data < BeEF::Core::Command
def self.options
[
{ 'name' => 'spoofed_url', 'ui_label' => 'Spoofed URL', 'type' => 'text', 'value' => 'https://example.com/' },
{ 'name' => 'real_url', 'ui_label' => 'Real URL', 'type' => 'text', 'value' => 'https://example.com/' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end