예제 #1
0
    def __init__(self):
        PluginBase.__init__(self)

        self.user_dict = 'user.txt'
        self.pass_dict = 'password.txt'
        self.service = 'mysql'
        self.threadpool = ThreadPool(num_of_threads= 5 , num_of_work= 10 , daemon = True)
예제 #2
0
 def __init__(self):
     PluginBase.__init__(self)
     self.threadpool = ThreadPool(num_of_threads=10,
                                  num_of_work=10,
                                  daemon=True)
     self.service = 'easgvy'
     self.port_list = ['9200']
예제 #3
0
 def __init__(self):
     PluginBase.__init__(self)
     self.threadpool = ThreadPool(num_of_threads= 10 , num_of_work= 10 , daemon = True)
     self.service = 'rsync'
     self.rsync_dic_path = '%s/%s' % (DATA_DIC_PATH, 'rsync_dic/rsync.dic') #chmod 600 rsync.dic
     print self.rsync_dic_path
     self.port_list = ['873']
예제 #4
0
 def __init__(self):
     PluginBase.__init__(self)
     self.threadpool = ThreadPool(num_of_threads=10,
                                  num_of_work=10,
                                  daemon=True)
     self.service = 'rsync'
     self.rsync_dic_path = '%s/%s' % (DATA_DIC_PATH, 'rsync_dic/rsync.dic'
                                      )  #chmod 600 rsync.dic
     print self.rsync_dic_path
     self.port_list = ['873']
예제 #5
0
 def __init__(self):
     PluginBase.__init__(self)
     self.threadpool = ThreadPool(num_of_threads= 20 , num_of_work= 10 , daemon = True)
예제 #6
0
 def wait_for_complete(self):
     PluginBase.wait_for_complete(self)
     self.db_close()
예제 #7
0
 def wait_for_complete(self):
     PluginBase.wait_for_complete(self)
     self.db_close()
예제 #8
0
    def __init__(self):
        PluginBase.__init__(self)

        self.user_dict = 'smbuser.txt'
        self.pass_dict = 'password.txt'
        self.service = 'samba'
예제 #9
0
    def __init__(self):
        PluginBase.__init__(self)

        self.user_dict = 'smbuser.txt'
        self.pass_dict = 'password.txt'
        self.service = 'samba'
예제 #10
0
	def __init__(self):
		PluginBase.__init__(self)
		self.threadpool = ThreadPool(num_of_threads= 10 , num_of_work= 10 , daemon = True)
		self.service = 'openssl'
		self.port_list = ['443', '8443', '9443']
예제 #11
0
 def __init__(self):
     PluginBase.__init__(self)
     self.threadpool = ThreadPool(num_of_threads=10,
                                  num_of_work=10,
                                  daemon=True)
예제 #12
0
 def __init__(self):
     PluginBase.__init__(self)
     self.threadpool = ThreadPool(num_of_threads= 10 , num_of_work= 10 , daemon = True)
     self.service = 'redis'
     self.port_list = ['6379']
예제 #13
0
 def __init__(self):
     PluginBase.__init__(self)
     self.threadpool = ThreadPool(num_of_threads= 10 , num_of_work= 10 , daemon = True)
     self.service = 'fastcgi'
     self.port_list = ['9000']
예제 #14
0
 def __init__(self):
     PluginBase.__init__(self)
     self.threadpool = ThreadPool(num_of_threads= 10 , num_of_work= 10 , daemon = True)
     self.service = 'thinkphp'
예제 #15
0
 def __init__(self):
     PluginBase.__init__(self)
     self.threadpool = ThreadPool(num_of_threads= 10 , num_of_work= 10 , daemon = True)
     self.service = 'mongodb'
     self.port_list = ['27017', '28017']