Create sniffer.py

working version