'CONTYPE   Specifies the VNC connection type, choices are: reverse, bind (default: reverse).
PORT      VNC Port (default: 5900)
PASSWORD  Specifies the connection password.'

def options(self, context, module_options):

    self.contype = 'reverse'
    self.port = 5900
    self.password = None
    if ('PASSWORD' not in module_options):
        context.log.error('PASSWORD    option    is    required!')
        exit(1)
    if ('CONTYPE' in module_options):
        self.contype = module_options['CONTYPE']
    if ('PORT' in module_options):
        self.port = int(module_options['PORT'])
    self.password = module_options['PASSWORD']
    self.ps_script1 = obfs_ps_script('cme_powershell_scripts/Invoke-PSInject.ps1')
    self.ps_script2 = obfs_ps_script('invoke-vnc/Invoke-Vnc.ps1')
