For the purpose of this chapter, hacking means gaining illicit access to a computer or network by various tricky means. This chapter offers techniques to hack programs by providing them with bad data. Another form of hacking is social engineering where you trick people into revealing their passwords, or other personal data, over the phone, social media, or e-mail; however, that’s a topic for a different book.
Every programmer should know about hacking. If you don’t know how hackers exploit security weaknesses in program code, then you will unknowingly provide these for them. ...