Prosecutors say they are considering charges of taking security-endangering pictures of military installations