Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #36.9K
Ranked #4K
~6K People Reached
About Me

Software developement

PC Specs
Unix
Favorite Tags
Member Avatar for kapcom01

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 …

Member Avatar for kapcom01
0
1K
Member Avatar for JDCyrus

Hi everyone. I need some help with a subprocess. My Python script uses the os.popen2 function to spawn a non-Python subprocess. Now it needs a way to send a Ctrl-C interrupt or something equivalent to the subprocess. Does anyone know how to do this? Thanks in advance!

Member Avatar for woooee
0
4K
Member Avatar for puddinlover

I'm really hoping to get some advice on my current programming career choices! I made a large blog post today and if you have a little time I would really appreciate it if any programmer read it and give me your feedback.

Member Avatar for richierich
0
121