I’m having an issue on assignment 3 of Zaid’s “Learn Python and Ethical Hacking from Scratch” course. The DNS spoofer runs fine in python 2.7 but gives me an import error when I run it in python 3. I’ve attached the error to this post. Does anyone have a fix for this?
Maybe this helps.
netfilterqueue not support by python 3.8 for now. if you like to use python 3 select env 3.7 for your project. You will still have issue instal the netfilterpython with pip3 I succeed to do it this way:
apt-get install libnetfilter-queue-dev
then I ran this to install netfilterqueue python 3 version:
pip3 install NFQP3
this done the job.
hope it will help if you like to use python3 (up to 3.7).
Thank you so much! This solution worked perfectly! Now to put (solved) in the title…
I really apreciate your answer. This is a problem I’ve been stuck on for days and your answer has fixed it. Thanks a lot!
no problem. i’m glad i could help.
Good luck with the rest of the course!