the basics of hacking and penetration testing pdf