Files
beef/modules/exploits/router/netgear_dgn2000_wan_remote_mgmt/module.rb
jcrew99 486a9bb329 Update copyright 2023 (#2675)
* updated copyright

* reverted gemfile lock changes
2022-12-31 15:36:07 +10:00

19 lines
589 B
Ruby

#
# Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://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