The most-mentioned books on r/netsec.
Looking for more? Similar subreddits are algorithms, Cplusplus, PHP, rstats, and Unity3D.