Restoring hacked iOS to original firmware – AppleTV 4 Jailbreak (appletv4jailbreak.com)

How sure are you that this is the case?

Also what device is this? Older phones were more susceptible to being Jailbroken (the act of gaining root access on iOS) than newer devices.

Also, unless you’re a head of state (or similar), it’s entirely unlikely clicking on some links led you to being attacked as you describe.

https://forums.macrumors.com/threads/restoring-hacked-ios-to-original-firmware.2327294/
AppleTV 4 Jailbreak (appletv4jailbreak.com)