Sha256: 834bebd8d63ca9e6fa35aa50a5105d0990816654d6ea88f1fa0800a2a3671d34
Contents?: true
Size: 1.09 KB
Versions: 15
Compression:
Stored size: 1.09 KB
Contents
# -*- coding: binary -*- 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
15 entries across 15 versions & 3 rubygems