i want to write a program using multi-threading, raw sockets, to scan the ports in python
i have a C code for injection of raw socket. i want to perform a ACK scan so need a raw socket.
So please help me.
thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Please check out Cython. It makes it very easy to wrap C code.
This is adapted from the documentation on calling external C functions:
You could then call
pysinfrom the compiled module like a normal Python module.