Class: Ronin::Payloads::CLI::RubyShell Private

Inherits:
Core::CLI::RubyShell
  • Object
show all
Defined in:
lib/ronin/payloads/cli/ruby_shell.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

The interactive Ruby shell for Ronin::Payloads or a payload class.

Instance Method Summary collapse

Constructor Details

#initialize(name: 'ronin-payloads', context: Ronin::Payloads, **kwargs) ⇒ RubyShell

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Initializes the ronin-payloads Ruby shell.

Parameters:

  • name (String) (defaults to: 'ronin-payloads')

    The name of the IRB shell.

  • context (Object) (defaults to: Ronin::Payloads)

    Custom context to launch IRB from within.

  • kwargs (Hash{Symbol => Object})

    Additional keyword arguments for Ronin::Core::CLI::RubyShell#initialize.



45
46
47
# File 'lib/ronin/payloads/cli/ruby_shell.rb', line 45

def initialize(name: 'ronin-payloads', context: Ronin::Payloads, **kwargs)
  super(name: name, context: context, **kwargs)
end