def run(self):
		myscanner = Scanner()
		ipreverse = IPReverse()
		domain_list = []
		tmp_list = []
		discuz_res = []
		ip_list = myscanner.WebScanner(self.startip,self.endip) #获取IP列表
		for x in ip_list:
			tmp_list = ipreverse.getDomainsList(x)
			if tmp_list == None:
				continue
			domain_list = domain_list + tmp_list   #获取域名列表
		for x in domain_list:
			if not x:
				continue
			for i in x:
				print i
				discuzdetector = DiscuzDetector(i)
				if discuzdetector.get_result()[0]:
				    discuz_res.append(i)
				else:
					continue
		#攻击程序(可以自行添加)
		discuz_attacker = DiscuzAttackProcess()
		discuz_attacker.exploit(discuz_res)
		return ''
 def run(self):
     myscanner = Scanner()
     ipreverse = IPReverse()
     domain_list = []
     tmp_list = []
     discuz_res = []
     ip_list = myscanner.WebScanner(self.startip, self.endip)  #获取IP列表
     for x in ip_list:
         tmp_list = ipreverse.getDomainsList(x)
         if tmp_list == None:
             continue
         domain_list = domain_list + tmp_list  #获取域名列表
     for x in domain_list:
         if not x:
             continue
         for i in x:
             print i
             discuzdetector = DiscuzDetector(i)
             if discuzdetector.get_result()[0]:
                 discuz_res.append(i)
             else:
                 continue
     #攻击程序(可以自行添加)
     discuz_attacker = DiscuzAttackProcess()
     discuz_attacker.exploit(discuz_res)
     return ''
Beispiel #3
0
 def doJob(self):
     myscanner = Scanner()
     ipreverse = IPReverse()
     domain_list = []
     tmp_list = []
     discuz_res = []
     ip_list = myscanner.WebScanner(self.startip, self.endip)  #获取IP列表
     for x in ip_list:
         tmp_list = ipreverse.getDomainsList(x)
         if tmp_list == None:
             continue
         domain_list = domain_list + tmp_list  #获取域名列表
     for x in domain_list:
         if not x:
             continue
         for i in x:
             print i
             discuzdetector = DiscuzDetector(i)
             if discuzdetector.get_result()[0]:
                 discuz_res.append(i)
             else:
                 continue
     return discuz_res
	def doJob(self):
		myscanner = Scanner()
		ipreverse = IPReverse()
		domain_list = []
		tmp_list = []
		discuz_res = []
		ip_list = myscanner.WebScanner(self.startip,self.endip) #获取IP列表
		for x in ip_list:
			tmp_list = ipreverse.getDomainsList(x)
			if tmp_list == None:
				continue
			domain_list = domain_list + tmp_list   #获取域名列表
		for x in domain_list:
			if not x:
				continue
			for i in x:
				print i
				discuzdetector = DiscuzDetector(i)
				if discuzdetector.get_result()[0]:
				    discuz_res.append(i)
				else:
					continue
		return discuz_res