Пример #1
0
 def __init__(self, url, nameserver=None, thread_count=THREAD_COUNT):
     self.url = UrlParser(url)
     self.nameserver = nameserver
     self.thread_count = thread_count
     self.jobs = Queue()
     self.threads = []
     fuzz = DomainFuzz(self.url.domain)
     fuzz.generate()
     self.permutations = fuzz.domains
Пример #2
0
    def get(self, domain):
        try:
            url = UrlParser(domain)
        except ValueError as err:
            return err, 400

        domain_fuzz = DomainFuzz(url.domain)
        domain_fuzz.generate()

        return domain_fuzz.domains
Пример #3
0
	def __init__(self, url, nameserver=None, thread_count=THREADS):
		self.id = str(uuid4())
		self.timestamp = int(time())
		self.url = UrlParser(url)
		self.nameserver = nameserver
		self.thread_count = thread_count
		self.jobs = Queue()
		self.threads = []
		fuzz = DomainFuzz(self.url.domain, dictionary=DICTIONARY, tld_dictionary=TLD_DICTIONARY)
		fuzz.generate()
		self.permutations = fuzz.domains