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

19 lines
593 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 Belkin_dns_csrf < BeEF::Core::Command
def self.options
[
{ 'name' => 'rhost', 'ui_label' => 'Remote Host', 'value' => '10.1.1.1' },
{ 'name' => 'dns1', 'ui_label' => 'Primary DNS Server', 'value' => '8.8.8.8' },
{ 'name' => 'dns2', 'ui_label' => 'Secondary DNS Server', 'value' => '8.8.4.4' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end