Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
beefproject
GitHub Repository: beefproject/beef
Path: blob/master/modules/exploits/router/belkin_dns_csrf/module.rb
1154 views
1
#
2
# Copyright (c) 2006-2025 Wade Alcorn - [email protected]
3
# Browser Exploitation Framework (BeEF) - https://beefproject.com
4
# See the file 'doc/COPYING' for copying permission
5
#
6
class Belkin_dns_csrf < BeEF::Core::Command
7
def self.options
8
[
9
{ 'name' => 'rhost', 'ui_label' => 'Remote Host', 'value' => '10.1.1.1' },
10
{ 'name' => 'dns1', 'ui_label' => 'Primary DNS Server', 'value' => '8.8.8.8' },
11
{ 'name' => 'dns2', 'ui_label' => 'Secondary DNS Server', 'value' => '8.8.4.4' }
12
]
13
end
14
15
def post_execute
16
save({ 'result' => @datastore['result'] })
17
end
18
end
19
20