Hacker gets slapped with 7-year prison sentence