544ab0de99b3d54c297c070c89817b9f17e5ce86,modules/Gyoi_Censys.py,Censys,search_censys,#Censys#Any#Any#Any#,36

Before Change


            api = censys.certificates.CensysCertificates(api_id=self.api_id, api_secret=self.secret)
            fields = ["parsed.subject_dn", "parsed.fingerprint_sha256", "parsed.validity"]
            for cert in api.search("tags: trusted and parsed.names: {}".format(fqdn), fields=fields):
                self.utility.print_message(OK, "Certification info: {}".format(cert))

        self.utility.write_log(20, "[Out] Search Censys [{}].".format(self.file_name))

After Change


        self.utility.write_log(20, "[In] Search Censys [{}].".format(self.file_name))

        api = censys.ipv4.CensysIPv4(api_id=self.api_id, api_secret=self.secret)
        self.utility.print_message(OK, "Check open web ports.")
        for result in api.search("ip:{}".format(ip_addr)):
            self.utility.print_message(WARNING, "Open web ports: {}".format(result["protocols"]))

        // Check cloud service name.
        if protocol == "https":
            self.utility.print_message(OK, "Check certification.")
            api = censys.certificates.CensysCertificates(api_id=self.api_id, api_secret=self.secret)
            fields = ["parsed.subject_dn", "parsed.validity", "parsed.signature_algorithm", "parsed.subject"]
            for cert in api.search("tags: trusted and parsed.names: {}".format(fqdn), fields=fields):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: gyoisamurai/GyoiThon
Commit Name: 544ab0de99b3d54c297c070c89817b9f17e5ce86
Time: 2018-11-20
Author: gyoiler3@gmail.com
File Name: modules/Gyoi_Censys.py
Class Name: Censys
Method Name: search_censys


Project Name: 13o-bbr-bbq/machine_learning_security
Commit Name: 3940f2aab97e571e99177d5b61700094637301f5
Time: 2018-09-09
Author: takaesu235@gmail.com
File Name: Generator/generator.py
Class Name:
Method Name:


Project Name: gyoisamurai/GyoiThon
Commit Name: 768144c383ebcf941c8819d1ebe391be59d06b01
Time: 2021-02-23
Author: null
File Name: modules/Gyoi_Inventory.py
Class Name: Inventory
Method Name: get_sub_domain_dns_record