def output(self):
        """
        Write output in the end of work
        :return:
        """
        WSModule.output(self)

        self.logger.log("\nFound hosts (full):")
        for host in self.result:
            self.logger.log("\t{0} {1} (DNS: {2})".format(
                host['name'], host['ip'], host['dns']))

        self.logger.log("\nFound hosts names:")
        for host in self.result:
            self.logger.log("\t{0}".format(host['name']))

        self.logger.log("Found IPs:")

        uniq_hosts = []
        for host in self.result:
            uniq_hosts.append(host['ip'])
        uniq_hosts = list(set(uniq_hosts))

        for host in uniq_hosts:
            self.logger.log("\t" + host)

        self.logger.log("\nFound {0} hosts.".format(len(self.result)))
    def output(self):
        """
        Output in the end of work
        :return:
        """
        WSModule.output(self)

        self.logger.log("\nFound {0} hosts:".format(len(self.result)))
        for host in self.result:
            self.logger.log("\t" + host)
    def output(self):
        """
        Output in the end of work
        :return:
        """
        WSModule.output(self)

        self.logger.log("")
        for fuzz in self.result:
            self.logger.log("\t{0} (Word(s): {1}, Header: {2})".format(
                fuzz['url'], ", ".join(fuzz['words']), fuzz['header']))
Beispiel #4
0
    def output(self):
        """
        Output in the end of work
        :return:
        """
        WSModule.output(self)

        self.logger.log("")
        self.logger.log("Passwords found:")
        for row in self.result:
            self.logger.log('\t' + row['word'])
    def output(self):
        """
        Output in the end of work
        :return:
        """
        WSModule.output(self)

        self.logger.log("")
        self.logger.log("Params found:")
        for result_row in self.result:
            self.logger.log("\t" + result_row)
Beispiel #6
0
    def output(self):
        WSModule.output(self)

        self.logger.log("\n")
        for result_row in self.result:
            self.logger.log("{0} {1}".format(result_row['code'], result_row['url']))