Our investigation shows how repressive regimes can buy and use the kind of spying tools Edward Snowden warned us about