In military practice, anyone not wearing the uniform of his or her country and secretly or under false pretenses obtaining information in enemy territory with intent to communicate it to his or her own army.