Module: Msf::Sessions::CreateSessionOptions

Defined in:
lib/msf/base/sessions/create_session_options.rb

Instance Method Summary collapse

Instance Method Details

#initialize(info = {}) ⇒ Object



14
15
16
17
18
19
20
21
22
# File 'lib/msf/base/sessions/create_session_options.rb', line 14

def initialize(info = {})
  super(info)

  register_options(
    [
      OptBool.new('CreateSession', [false, 'Create a new session for every successful login', true])
    ]
  )
end