''

def __init__(self, conf, link_port=8080, targetOs='Windows'):

    self.conf = conf
    i = (conf['launcher_args'].index('--host') + 1)
    self.link_ip = conf['launcher_args'][i].split(':', 1)[0]
    self.link_port = link_port
    self.__loadRubberDuckyConf__()
    self.rubberDuckyScriptFilename = 'rubberDuckyPayload.txt'
    self.rubberDuckyBinFilename = 'inject.bin'
    self.targetOs = targetOs
    if (self.targetOs not in self.TARGET_OS_MANAGED):
        print (colorize('[+]    ', 'red') + 'Target    OS    ({0})    is    not    valid.    It    has    to    be    in    {1}'.format(targetOs, self.TARGET_OS_MANAGED))
