Exemple #1
0
 def process(self):
     alert("\n[+] Searching in {0}..\n".format(self.name))
     while self.start < self.limit:
         self.search()
         time.sleep(1)
         self.start += self.step
         message("\tSearching {0} results...".format(self.start))
Exemple #2
0
    def display_results(self):
        if not self.results:
            error("\nNo emails found!")
            sys.exit(4)

        alert("\n\n[+] {} emails found:".format(len(self.results)), underline=True)

        if not self.args.noprint:
            message(self.results)
    def run(self):
        results = []
        for engine in self.engines:
            self.initialize(engine)
            alert("\n[+] Searching in {0} + Linkedin..\n".format(engine["name"]))
            self.process()
            results.extend(self.get_emails())

        return results
Exemple #4
0
    def display_results(self):
        if not self.results:
            error("\nNo emails found!")
            sys.exit(4)

        alert("\n\n[+] {} emails found:".format(len(self.results)),
              underline=True)

        if not self.args.noprint:
            message(self.results)
Exemple #5
0
 def search(self):
     if self.engine == "all":
         alert("[+] Searching everywhere..")
         for search_engine in self.plugins:
             if search_engine in self.excluded:
                 continue
             self.results += self.plugins.execute(search_engine,
                                                  self.domain, self.limit,
                                                  self.proxy,
                                                  self.user_agent)
     elif self.engine not in self.plugins:
         error("Search engine plugin not found")
         sys.exit(3)
     else:
         self.results = self.plugins.execute(self.engine, self.domain,
                                             self.limit, self.proxy,
                                             self.user_agent)
     self.results = unique(self.results)
Exemple #6
0
 def search(self):
     if self.engine == "all":
         alert("[+] Searching everywhere..")
         for search_engine in self.plugins:
             if search_engine in self.excluded:
                 continue
             self.results += self.plugins.execute(search_engine,
                                                  self.domain,
                                                  self.limit,
                                                  self.proxy,
                                                  self.user_agent)
     elif self.engine not in self.plugins:
         error("Search engine plugin not found")
         sys.exit(3)
     else:
         self.results = self.plugins.execute(self.engine,
                                             self.domain,
                                             self.limit,
                                             self.proxy,
                                             self.user_agent)
     self.results = unique(self.results)
Exemple #7
0
 def display(self):
     alert("[+] Available plugins:", underline=True)
     for module in self:
         message(module)
     sys.exit(1)