Esempio n. 1
0
 def __init__(self, x64IP="172.23.1.60", x64port=6023,
              grailhost="toe", grailport=18000, 
              verbose=True, testmode=False):
     self.verbose = verbose
     self.grailhost = getConfigValue(grailhost, 'GrailHost')
     if self.verbose:
         print "Grailhost is > %s" % self.grailhost
     self.cl = GrailClient(self.grailhost, grailport)
     self.SC = self.cl.create_manager('ScanCoordinator')
     self.auto_set = False
     self.x64IP = x64IP
     self.x64port = x64port
     self.testmode = testmode
     self.connect_x64()
Esempio n. 2
0
 def __init__(self, hostname, portnumber=18000):
     grailhost = getConfigValue(hostname, 'GrailHost')
     print "Grailhost is > %s" % grailhost
     self.cl = GrailClient(grailhost, portnumber)
     self.SC = self.cl.create_manager('ScanCoordinator')
     self.auto_set = False