Sha256: 48416704517c806c3202cbec1522e52e99b7db18fc1a68a7d29b8645d741c171
Contents?: true
Size: 1.04 KB
Versions: 2
Compression:
Stored size: 1.04 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
librex-0.0.68 | lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb |
librex-0.0.66 | lib/rex/post/meterpreter/ui/console/command_dispatcher/stdapi.rb |