Skip to content

Commit

Permalink
New analyzer Google DNS over HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jul 17, 2018
1 parent 85fcad1 commit dd80cd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions analyzers/GoogleDNS/GoogleDNS_resolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def resolve(self, query):
self.answer["Status"] = CODE[int(data["Status"])] # replace DNS response code by name

def run(self):
if self.data_type not in ["ip", "domain", "url", "fqdn"]:
if self.data_type not in ["ip", "domain", "fqdn"]:
self.error("Wrong data type")

target = self.getData()
Expand All @@ -75,4 +75,4 @@ def summary(self, raw):
return { "taxonomies" : [count]}

if __name__ == "__main__":
GoogleDNS_resolve().run()
GoogleDNS_resolve().run()

0 comments on commit dd80cd6

Please sign in to comment.