Sniffer Codes