USSD code to factory data reset a Galaxy S3 can be trigged from a HTML page
Here's a safe version of the exploit that displays your IMEI:
http://kristofferR.com/samsung.htmlCheck the html in your desktop browser first, for all you know I might as well be a malicious douchebag.The exploit seems to require a stock Samsung Galaxy dialer, works fine on my cheap Samsung Galaxy Y but not on my friend's modded S3 with a vanilla Android dialer.