Sha256: 9c79e9928cd173dfd5564851a6deeaf46ebe416b72f0d5c0f7efafc040f75d7f

Contents?: true

Size: 1.01 KB

Versions: 39

Compression:

Stored size: 1.01 KB

Contents

require 'rex/post/meterpreter'

module Rex
module Post
module Meterpreter
module Ui

###
#
# Standard API extension.
#
###
class Console::CommandDispatcher::Stdapi

	require 'rex/post/meterpreter/ui/console/command_dispatcher/stdapi/fs'
	require 'rex/post/meterpreter/ui/console/command_dispatcher/stdapi/net'
	require 'rex/post/meterpreter/ui/console/command_dispatcher/stdapi/sys'
	require 'rex/post/meterpreter/ui/console/command_dispatcher/stdapi/ui'
	require 'rex/post/meterpreter/ui/console/command_dispatcher/stdapi/webcam'

	Klass = Console::CommandDispatcher::Stdapi

	Dispatchers = 
		[
			Klass::Fs,
			Klass::Net,
			Klass::Sys,
			Klass::Ui,
			Klass::Webcam,
		]

	include Console::CommandDispatcher

	#
	# Initializes an instance of the stdapi 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
		"Standard extension"
	end

end

end
end
end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
librex-0.0.65 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.63 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.54 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.53 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.52 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.51 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.50 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.49 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.48 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.47 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.46 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.44 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.43 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.42 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.41 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.40 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.39 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.38 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.37 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb
librex-0.0.36 lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb