Sha256: 099ed028b7a335cc6c774bf7d4891a1fb9a83abb776b471e6675eb31650d4e51
Contents?: true
Size: 732 Bytes
Versions: 1
Compression:
Stored size: 732 Bytes
Contents
require 'rex/post/meterpreter' module Rex module Post module Meterpreter module Ui ### # # Packet sniffer extension user interface. # ### class Console::CommandDispatcher::Railgun Klass = Console::CommandDispatcher::Railgun include Console::CommandDispatcher # # Initializes an instance of the railgun command interaction. # def initialize(shell) super end # # List of supported commands. # def commands { # "railgun_test" => "Run a simple railgun_test" } end =begin def cmd_railgun_test(*args) begin r = client.railgun.multi([ ["kernel32", "GetLogicalDrives", []] ]) rescue ::Exception => e p "Error: #{e} #{e.backtrace}" end end =end def name "Railgun" end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
librex-0.0.4 | lib/rex/post/meterpreter/ui/console/command_dispatcher/railgun.rb |