The DNS-sniffier uses the scapy-python3 lib.
DNS answers are stored into the "smartrouter" database on the "DNSQueries" table.
cd /home/vargrant/python
sudo python3.5 dns_sniffer_0.0.pysudo /usr/bin/python3.5 /home/vagrant/python/dns_sniffer_0.0.pynslookup nicode.me
nslookup facebook.beThis is a first object oriented version of the sniffer. The testclass.py tests the sniffer.
cd /home/vargrant/python
sudo python3.5 testclass.pysudo /usr/bin/python3.5 /home/vagrant/python/testclass.pyFor more conviviality, you can install ohmyzsh. A password must be setup before installing ohmyzsh. So you can run :
passwd
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"