Former Internet hacker gets a book deal