Sha256: 641f56dbaf812f4b7d0974c78b40ccc6d0fcb1a85736a10a70d06bfc4b44b01d
Contents?: true
Size: 945 Bytes
Versions: 4
Compression:
Stored size: 945 Bytes
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' Klass = Console::CommandDispatcher::Stdapi Dispatchers = [ Klass::Fs, Klass::Net, Klass::Sys, Klass::Ui, ] 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
4 entries across 4 versions & 1 rubygems