#
# Copyright (c) 2006-2020 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
		return [
			{ '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
