Connect with us

Technology

This short line of code can force restart your iPhone or iPad

Published

on

Image: lili sams/mashable

The latest iOS hack won’t steal your data, but it will annoy you.

Fifteen short lines of code on a webpage can restart your iPhone or iPad. Alternatively, visiting it on a Mac can cause the Safari window to freeze.

As reported by TechCrunch, this exploit can easily be transmitted and sent to unsuspecting iOS users. Since it’s a short snippet of code, it can hide on almost any webpage. It will restart your device by actually enabling a fail-safe that is built into iOS. 

Image: screenshot by jake krol Mashable/github

The code tries to use all available resources, which results in a kernel panic. In response, the iPhone will then power cycle off and power cycle on to prevent any damage. 

Luckily, that’s all the code does. There is nothing truly malicious. So it can’t steal your data, access your passwords, or see any info from your device.

Fair warning, clicking the second link in the tweet above will cause a restart. I tested this exploit on an iPhone X running the latest iOS 12 beta and a 10.5-inch iPad Pro running 11.4.1. – both devices power cycled off, and a few seconds later the Apple logo appeared as it restarted. 

For now, it might be a fun way to prank a friend or the latest way that hackers can troll iPhone users. Be wary of incoming links from unsuspecting sources, and if your phone turns off as a result of this code just know it won’t steal data. If anything, it might give you a moment of solitude when it disconnects you from the ever-connected world.

Fingers crossed that the iOS teams at Apple are working swiftly to address this.

Https%3a%2f%2fvdist.aws.mashable.com%2fcms%2f2018%2f7%2f9000582f 8277 59fe%2fthumb%2f00001

!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version=’2.0′;n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,’script’,’https://connect.facebook.net/en_US/fbevents.js’);
fbq(‘init’, ‘1453039084979896’);
if (window.mashKit) {
mashKit.gdpr.trackerFactory(function() {
fbq(‘track’, “PageView”);
}).render();
}

Continue Reading
Advertisement Find your dream job

Trending