Ejemplo n.º 1
0
    def start(self):
        print("[+] 正在反查所有域名记录...")

        ips = Tools.getFile("host/output/ips.txt")
        self.maxCount = len(ips)

        pool = ThreadPool(processes=50)
        pool.map(self.domain, ips)
        pool.close()
        pool.join()

        self.nowCount = 0
        self.maxCount = 0

        print("[+] 正在反查所有域名记录 done")
Ejemplo n.º 2
0
    def startHost(self):
        print("[+] 正在提取可用地址的特征...")

        ips = Tools.getFile("host/output/ips.txt")
        self.maxCount = len(ips)

        pool = ThreadPool(processes=50)
        pool.map(self.collectHost, ips)
        pool.close()
        pool.join()

        self.nowCount = 0
        self.maxCount = 0

        print("[+] 正在提取可用地址的特征 done")
Ejemplo n.º 3
0
    def startSite(self):
        print("[+] 正在提取所有域名的特征...")

        sites = Tools.getFile("domain/output/sites.txt")
        self.maxCount = len(sites)

        pool = ThreadPool(processes=50)
        pool.map(self.collectSite, sites)
        pool.close()
        pool.join()

        self.nowCount = 0
        self.maxCount = 0

        print("[+] 正在提取所有域名的特征 done")
        print()

        input("按任意键继续...")
Ejemplo n.º 4
0
 def start(self):
     pool = ThreadPool(processes=50)
     pool.map(self.feature, Tools.getFile("domain/output/sites.txt"))
     pool.close()
     pool.join()