Sha256: 845e8c320fcf7d86a8fb481eaac562647a4f7b53ceed23c1bbc0fcc6e1595810

Contents?: true

Size: 900 Bytes

Versions: 43

Compression:

Stored size: 900 Bytes

Contents

require 'rex/post/meterpreter'

module Rex
module Post
module Meterpreter
module Ui

###
#
# Privilege escalation extension user interface.
#
###
class Console::CommandDispatcher::Priv

	require 'rex/post/meterpreter/ui/console/command_dispatcher/priv/elevate'
	require 'rex/post/meterpreter/ui/console/command_dispatcher/priv/passwd'
	require 'rex/post/meterpreter/ui/console/command_dispatcher/priv/timestomp'

	Klass = Console::CommandDispatcher::Priv

	Dispatchers = 
		[
			Klass::Elevate,
			Klass::Passwd,
			Klass::Timestomp,
		]

	include Console::CommandDispatcher

	#
	# Initializes an instance of the priv command interaction.
	#
	def initialize(shell)
		super

		Dispatchers.each { |d|
			shell.enstack_dispatcher(d)
		}
	end

	#
	# List of supported commands.
	#
	def commands
		{
		}
	end

	#
	# Name for this dispatcher
	#
	def name
		"Privilege Escalation"
	end

end

end
end
end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
librex-0.0.35 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.34 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.33 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.32 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.31 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.30 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.29 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.28 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.27 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.26 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.25 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.23 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.21 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.19 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.17 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.13 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.12 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.7 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.6 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb
librex-0.0.5 lib/rex/post/meterpreter/ui/console/command_dispatcher/priv.rb