To make this sniff work, you will need the bssid and the wifi passwd
Simple ESP8266 Wifi Sniffer project