1# -*- coding: binary -*- 2 3## 4# This file is part of the Metasploit Framework and may be subject to 5# redistribution and commercial restrictions. Please see the Metasploit 6# Framework web site for more information on licensing and terms of use. 7# https://metasploit.com/framework/ 8## 9 10 11module Msf 12 module Sessions 13 module CreateSessionOptions 14 def initialize(info = {}) 15 super(info) 16 17 register_options( 18 [ 19 OptBool.new('CreateSession', [false, 'Create a new session for every successful login', true]) 20 ] 21 ) 22 end 23 end 24 end 25end 26 27