Closed Anirbansikder closed 3 years ago
Hello Anirbansikder, I think it might be the python (pip) configuration problem in your system. Try explicit install: something like this: # python -m pip install dnspython
Somebody fixed this issue? I m facing the same issue ... Pls advise
Knock requires a Python 2.7.6 version, so, Probably the problem is dnspython. Because Python 2.x support ended with the release of 1.16.0. The dnspython 2.0.0 and later, only support Python 3.6 and later. Is possible that you will need a virtual environment to use python 2.7.6 (required by knock), take a look to: www.kali.org/docs/general-use/using-eol-python-versions/
If you don't have troubles with the python version, then try modifiying the dnspython version. I downloaded the 1.16 version of dnspython from: https://github.com/rthalley/dnspython/releases/tag/v1.16.0 (Remember that this version doesn't have support anymore) when you're installing the setup.py from the knock folder, make sure that you have the proper dnspython version (1.16) on the path:
I had the same problem, and this works for me. I Hope it helps, regards.
dnspython has been removed from the new Knock version.
You should use import dns
Whenever I run this file I get :
and I already have dnspython module.
How to handle this ?