Last year, the gods bestowed a gift on men the world over when nude or racy private photos of stars like Scarlett Johansson, Mila Kunis and Jessica Alba made their way to the internet, all obtained by hacking into the ladies' phones.

Floridian Christopher Chaney was arrested for the crime in October, and now he's ready to cop a plea.

When he was apprehended, the 35-year-old Chaney was charged with a slew of federal crimes and could've faced up to 121 years in prison upon his conviction. He initially entered a pleas of not guilty, but he's since changed his tune.

On Friday, he entered into a plea agreement with federal prosecutors in which he'll hand over his computers, external drives and cell phone and plead guilty to nine counts including identity theft, wiretapping, and unauthorized access and damage to a protected computer. He'll then throw himself on a mercy of a judge, who'll decide whether or not impose the maximum sentence of 60 years in prison and three years of probation.

So how'd he pull off the repeated photo scandals? You might be surprised how easy it was.

His hacks didn't require any sort of advanced technological expertise -- he just mined readily-available information about the celebrities from the internet to figure out what their email passwords and security-confirmation answers were likely to be. And once he got into their accounts, he simply set them to forward copies of emails sent or received to his own email address.

Let that be a lesson next time you decide to strip down and let those nudie photos fly.

More From ScreenCrush