Sha256: 8d3d506b5395cc56e0bdd72032dfebd6ccfdee185d4b4bece7abb3eee0389550
Contents?: true
Size: 974 Bytes
Versions: 15
Compression:
Stored size: 974 Bytes
Contents
# -*- coding: binary -*- 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
15 entries across 15 versions & 3 rubygems