SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
Python attacksurfacecticybersecurityfootprintinghackinginformation-gatheringinformation-securityinfosecintelligence-gatheringosintosint-frameworkosint-reconnaissanceosint-toolpentestingpythonreconsecurity-toolsthreat-intelligencethreatintel
Removed Trailing Semicollons
Gormogona55e02aa3bfd
diff --git a/ext/dns/dnssec.py b/ext/dns/dnssec.pyindex 084f908d..f10fb930 100644--- a/ext/dns/dnssec.py+++ b/ext/dns/dnssec.py@@ -103,7 +103,7 @@ def key_id(key, origin=None):total += (ord(rdata[2 * i]) << 8) + ord(rdata[2 * i + 1])if len(rdata) % 2 != 0:total += ord(rdata[len(rdata) - 1]) << 8- total += ((total >> 16) & 0xffff);+ total += ((total >> 16) & 0xffff)return total & 0xffffdef make_ds(name, key, algorithm, origin=None):@@ -286,7 +286,7 @@ def _validate_rrsig(rrset, rrsig, keys, origin=None, now=None):rrnamebuf = rrname.to_digestable(origin)rrfixed = struct.pack('!HHI', rdataset.rdtype, rdataset.rdclass,rrsig.original_ttl)- rrlist = sorted(rdataset);+ rrlist = sorted(rdataset)for rr in rrlist:hash.update(rrnamebuf)hash.update(rrfixed)diff --git a/ext/dns/node.py b/ext/dns/node.pyindex e74004f6..bd9e5071 100644--- a/ext/dns/node.py+++ b/ext/dns/node.py@@ -35,7 +35,7 @@ class Node(object):"""Initialize a DNS node."""- self.rdatasets = [];+ self.rdatasets = []def to_text(self, name, **kw):"""Convert a node to text format.diff --git a/ext/dns/rdataclass.py b/ext/dns/rdataclass.pyindex 7601e70c..7d13f525 100644--- a/ext/dns/rdataclass.py+++ b/ext/dns/rdataclass.py@@ -63,7 +63,7 @@ _metaclasses = {ANY : True}-_unknown_class_pattern = re.compile('CLASS([0-9]+)$', re.I);+_unknown_class_pattern = re.compile('CLASS([0-9]+)$', re.I)class UnknownRdataclass(dns.exception.DNSException):"""Raised when a class is unknown."""diff --git a/ext/dns/rdatatype.py b/ext/dns/rdatatype.pyindex f64307a7..fe7cbff3 100644--- a/ext/dns/rdatatype.py+++ b/ext/dns/rdatatype.py@@ -175,7 +175,7 @@ _singletons = {# CNAME is technically a singleton, but we allow multiple CNAMEs.}-_unknown_type_pattern = re.compile('TYPE([0-9]+)$', re.I);+_unknown_type_pattern = re.compile('TYPE([0-9]+)$', re.I)class UnknownRdatatype(dns.exception.DNSException):"""Raised if a type is unknown."""diff --git a/ext/dns/rdtypes/ANY/LOC.py b/ext/dns/rdtypes/ANY/LOC.pyindex 154546d7..ef2e549c 100644--- a/ext/dns/rdtypes/ANY/LOC.py+++ b/ext/dns/rdtypes/ANY/LOC.py@@ -61,7 +61,7 @@ def _tuple_to_float(what):return sign * valuedef _encode_size(what, desc):- what = long(what);+ what = long(what)exponent = _exponent_of(what, desc) & 0xFbase = what // pow(10, exponent) & 0xFreturn base * 16 + exponent