Sample application to test for vulnerability to MiM redirect attacks