guelfoweb / knock

Knock Subdomain Scan
GNU General Public License v3.0
3.85k stars 856 forks source link

Fix SyntaxWarning deprecation message. #147

Closed LocutusOfBorg closed 1 month ago

LocutusOfBorg commented 6 months ago

/usr/lib/python3/dist-packages/knock/knockpy.py:118: SyntaxWarning: invalid escape sequence '\/' pattern = "http(s)?:\/\/(..%s)" % self.domain /usr/lib/python3/dist-packages/knock/knockpy.py:121: SyntaxWarning: invalid escape sequence '.' if match and re.match("^[a-zA-Z0-9-.]$", match.groups()[1]): Processing triggers for man-db (2.12.0-3) ...

This has been deprecated since Python3.6

LocutusOfBorg commented 1 month ago

@guelfoweb can you please apply this one?

LocutusOfBorg commented 1 month ago

reopened as https://github.com/guelfoweb/knock/pull/151