The most-mentioned books on r/HowToHack.
Looking for more? Similar subreddits are androiddev, compsci, PHPhelp, SQL, and webdev.