guelfoweb / knock

Knock Subdomain Scan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

knockpy.py:118: SyntaxWarning: invalid escape sequence '\/'

LocutusOfBorg opened this issue · comments

From: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065526

Preparing to unpack .../knockpy_7.0.0-1_all.deb ...
Unpacking knockpy (7.0.0-1) over (6.1.0-1) ...
Setting up knockpy (7.0.0-1) ...
/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) ...

Hello, can you please check the Python3.12 escape syntax deprecation warnings?