Simple python sniffer