A program to detect MiTM attacks