Spies mostly attempt to do this either through surveillance or by recruiting prospective turncoats like, say, an Iranian scientist or an American President, to feed them highly classified information on an ongoing basis.
The truth is supposed to hurt.
glad you enjoyed that one :)