- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
3 Posted Topics
[QUOTE=kapcom01;1049578]How do i stop the following thread? [CODE] from threading import Thread from scapy.all import sniff class SnifferThread(Thread): def __init__ (self,filter): Thread.__init__(self) self.filter = filter def run(self): sniff(filter=self.filter, prn=self.pkt_callback, store=0) def pkt_callback(self,pkt): print pkt.sprintf('%TCP.payload%') if __name__ == '__main__': sniffer = SnifferThread("tcp port 80") sniffer.start() #here i will make a GUI …
You can use the signal module of python for handling these kinds of situation.
Popularity is just a matter of relativity and it changes in no time. For e.g., after the acquisition of java by oracle, where the hail the popularity of java will end now. In my perspective, choice of programming language is not so important for being an expert. What you need …
The End.
richierich