Files
beef/modules/exploits/router/netgear_dgn2000_wan_remote_mgmt/module.rb
2024-12-25 11:40:55 +10:00

19 lines
590 B
Ruby

#
# Copyright (c) 2006-2025 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - https://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Netgear_dgn_2000_wan_mgmt_csrf < BeEF::Core::Command
def self.options
[
{ 'name' => 'base', 'ui_label' => 'Router URL', 'value' => 'http://192.168.0.1' },
{ 'name' => 'port', 'ui_label' => 'Port', 'value' => 8080 },
{ 'name' => 'sourceip', 'ui_label' => 'Source IP', 'value' => '0.0.0.0' }
]
end
def post_execute
save({ 'result' => @datastore['result'] })
end
end