the photos-inadvertently revealing a classified u.s. military training facility in north africa-had turned up on the black market , where they had been purchased by hostile intelligence agencies in the middle east .