A leaked hacking tool called DarkSword could expose older iPhones and iPads to attacks through malicious links and compromised websites.