Description: This is an interesting exercise I had given to my students for the SecurityTube Python Scripting Course (SPSE). The problem statement was roughly the following - Create a multi-threaded TCP SYN scanner using Scapy, Threading and Queue modules in Python.
Quick note:
1. This code is to illustrate use of multithreading in Python
2. Performance of the scanner solely depends on the probe / detection capability of scapy. The code outsources everything to scapy
3. Filtered ports etc. are not taken care of for now. Only SYN-ACKs are considered
Code Snippet on Pastebin: http://pastebin.com/amVRdwcu (was a quick cut-paste from the editor - check formatting before running)
If you are looking for details on our SPSE course and how to register, please visit this link: http://securitytube-training.com/certifications/securitytube-python-scripting-expert/
Enjoy and please do leave your comments behind!
Tags: spse , python , syn-scanner ,
Very intresting exercise! :)