If i have to recommend a good book for pen testing, it would be Penetration testing: a hands on introduction to hacking (https://archive.org/details/penetration-testing_202106). Not a big fan of Kali Linux but over all it seems pretty helpful.
A newer server operated by the Mastodon gGmbH non-profit