The book I'm complaining about isn't Spidering Hacks, but I'm not sure if you assumed it was.
One measure that could be taken to help keep such books out of the hands of the bad guys is to title them as crack prevention books rather than cracker helper books. That's not the case with the book from O'Reilly's catalog. O'Reilly's description of it also shouldn't make it sound like it will help crackers, but it does. O'Reilly is making it more attractive to the scumbag variety of hackers (the term I used in my original post, which seems to have been misunderstood by several monks) than to decent computer security people. The title and content should make it as clear as possible that it is a book for crack prevention, if such a book is published at all.