Rangers foil plan of attack