- This topic has 3 replies, 2 voices, and was last updated 3 years, 9 months ago by .
- You must be logged in to reply to this topic.
Tagged: netfilterqueue
Good day,
I am on the code_injector tutorial, and after accidentally messing around with the pip package I think I busted my netfilterqueue.
I’m running the iptables (iptables -I INPUT -j NFQUEUE –queue-num 0 and iptables -I OUTPUT -j NFQUEUE –queue-num 0), that part is fine… but when I go to run my code I am getting:
Traceback (most recent call last):
File “code_injector.py”, line 42, in <module>
queue.bind(0, process_packet)
File “netfilterqueue.pyx”, line 182, in netfilterqueue.NetfilterQueue.bind (netfilterqueue.c:4388)
OSError: Failed to create queue 0.
Any idea why this OS Error is popping up? I do want to think it has something to do with the netfilterqueue.pyx file, which I cannot locate for the life of me to view line 182 and try to dig further… as much as I love this puzzle of figuring things out, I’ve exhausted my attempts.
Thanks!
Hi!
That happened because once you have run the code it might crashed and queue 0 is unavailable, the solution is to reboot your machine and it will be abalable again.
Hope it helps!
Diego
Diego,
That fixed my problem! 🙂
Thank you very much, you are helpful as always.
You’re welcome!
Greetings!
Diego
Not a member yet? Register now
Are you a member? Login now
All of our courses include:
✔ Lifetime, unlimited access to course materials & training videos.
✔ Verifiable certificate of completion from zSecurity, signed by the course instructor, Zaid.
✔ Get answers from our Support Team within a maximum of 15 hours.
✔ Unlimited Updates.
Get free 1 month VIP membership per course with:
✔ Live mentorship and Q&A session with the course instructor, Zaid.
✔ Instant support from community members through our private discord channel.
✔ Daily updates with the latest tutorials & news in the hacking world.
✔ Daily resources like CTFs, bug bounty programs, onion services and more!
✔ Access our VIP community & connect with like-minded people.
✔ Discounts on other zSecurity products and services.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
This website uses Google Analytics and Linkedin to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookies enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!