def __init__(self, isThread=1, deamon=True): TaskTool.__init__(self, isThread, deamon=deamon) self.set_deal_num(1) self.getlocationtool = getLocationTool.getObject() self.config = config.Config self.sqlTool = Sqldatatask.getObject()
def __init__(self,isThread=1,deamon=True): TaskTool.__init__(self,isThread,deamon=deamon) self.sqlTool=Sqldatatask.getObject() self.config=config.Config self.set_deal_num(1)
def __init__(self,isThread=1,deamon=True): TaskTool.__init__(self,isThread,deamon=deamon) self.sqlTool=Sqldatatask.getObject() self.connectpool=connectpool.getObject() self.portscan=portscantool.Portscantool() self.config=config.Config self.set_deal_num(5)
def __init__(self, isThread=1, deamon=True): TaskTool.__init__(self, isThread, deamon=deamon) import Sqldatatask self.sqlTool = Sqldatatask.getObject() self.connectpool = connectpool.getObject() self.portscan = portscantool.Portscantool() self.config = config.Config self.set_deal_num(5)
def __init__(self, isThread=1): TaskTool.__init__(self, isThread) # DEBUG self.logger = initLog('/root/log/baozhang/logs/sniffertask.log', 1, False, 'sniffertask') self.sqlTool = Sqldatatask.getObject() # 设置线程数 # 获取nmap的参数 self.sniffer = sniffertool.SniffrtTool(logger=self.logger) self.config = config.Config
def __init__(self,isThread=1,deamon=True): TaskTool.__init__(self,isThread,deamon=deamon) import Sqldatatask self.logger = initLog('logs/portScantask.log', 2, True,'portscantask') self.sqlTool=Sqldatatask.getObject() self.connectpool=connectpool.getObject() self.portscan=portscantool.Portscantool() self.config=config.Config self.set_deal_num(15)
def __init__(self,isThread=1,deamon=True,islocalwork=config.Config.islocalwork): TaskTool.__init__(self,isThread,deamon=deamon) self.sqlTool=Sqldatatask.getObject() self.config=config.Config self.set_deal_num(1) self.islocalwork=islocalwork self.uploadwork=uploadtask.getObject() self.webconfig=webconfig.WebConfig
def __init__(self, isThread=1, deamon=False): TaskTool.__init__(self,isThread,deamon=deamon) import Sqldatatask self.logger = initLog('/root/log/baozhang/logs/portScantask.log', 2, False,'portscantask') self.sqlTool = Sqldatatask.getObject() #init DBmanager #init ConnetcPool's parameters, eg: proxy_address, proxy_name...在webconfig.py中设定 self.connectpool = connectpool.getObject() # timeout:8, config:xxx, socketclient:None self.portscan = portscantool.Portscantool() self.config = config.Config self.set_deal_num(30)
def __init__(self,isThread=1,deamon=False,islocalwork=config.Config.islocalwork): TaskTool.__init__(self,isThread,deamon=deamon) self.sqlTool=Sqldatatask.getObject() self.connectpool=connectpool.getObject() self.portscan=portscantool.Portscantool() self.config=config.Config self.set_deal_num(5) self.islocalwork=islocalwork from worker import uploadtask self.uploadwork=uploadtask.getObject() self.webconfig=webconfig.WebConfig
def __init__(self, isThread=1, deamon=True, islocalwork=config.Config.islocalwork): TaskTool.__init__(self, isThread, deamon=deamon) self.sqlTool = Sqldatatask.getObject() self.config = config.Config self.set_deal_num(1) self.islocalwork = islocalwork self.uploadwork = uploadtask.getObject() self.webconfig = webconfig.WebConfig
def __init__(self): TaskTool.__init__(self) HTMLParser.HTMLParser.__init__(self) self.connectpool=connectpool.ConnectPool()
def __init__(self,isThread=1): TaskTool.__init__(self,isThread) self.logger = initLog('logs/sniffertask.log', 2, True,'sniffertask') self.sqlTool = Sqldatatask.getObject() self.sniffer= sniffertool.SniffrtTool(logger=self.logger) self.config=config.Config
def __init__(self,isThread=1): TaskTool.__init__(self,isThread) self.logger = initLog('logs/sniffertask.log', 2, True,'sniffertask') self.sniffer= sniffertool.SniffrtTool(logger=self.logger)
def __init__(self, isThread=1): TaskTool.__init__(self, isThread) self.sqlhelp = SQLTool.getObject() self.sqlhelp.connectdb()
def __init__(self, isThread=1): TaskTool.__init__(self, isThread) self.sniffer = SniffrtTool()
def __init__(self, isThread=1): TaskTool.__init__(self, isThread) self.logger = initLog('logs/sniffertask.log', 2, True, 'sniffertask') self.sqlTool = Sqldatatask.getObject() self.sniffer = sniffertool.SniffrtTool(logger=self.logger) self.config = config.Config
def __init__(self, isThread=1, deamon=True): TaskTool.__init__(self, isThread, deamon=deamon) self.sqlTool = Sqldatatask.getObject() #init DBmanager self.config = config.Config self.set_deal_num(1)
def __init__(self, isThread=1): TaskTool.__init__(self, isThread) self.set_deal_num(1) self.add_work(['sniffer'])
def __init__(self,isThread=1): TaskTool.__init__(self,isThread) self.set_deal_num(1) self.add_work(['sniffer'])
def __init__(self,isThread=1,deamon=True): TaskTool.__init__(self,isThread,deamon=deamon) # self.portscan=portscantool.Portscantool() self.set_deal_num(1) self.getlocationtool=getLocationTool.getObject()
def __init__(self,isThread=1): TaskTool.__init__(self,isThread) self.sqlhelp=SQLTool.getObject() self.sqlhelp.connectdb()
def __init__(self,isThread=0): TaskTool.__init__(self,isThread) self.connectpool=connectpool.ConnectPool()
def __init__(self, isThread=1): TaskTool.__init__(self, isThread, deamon=False) self.__sqltool = Sqldatatask.getObject()
def __init__(self,isThread=1): TaskTool.__init__(self,isThread) self.sniffer= SniffrtTool()
def __init__(self): TaskTool.__init__(self) HTMLParser.HTMLParser.__init__(self) self.connectpool = connectpool.ConnectPool()