Did you know Cybrary's video training is FREE? Join more than 2,500,000 IT and cyber security professionals, students, career changers, and more, growing their careers on Cybrary.
Readability in Strings This lesson focuses on making strings more readable. To accomplish this, you need to do an import called a bnascii.hexlify. This turns unknown binary data in ASCII but it looks like hex. Participants learn step by step instructions in creating a readable Ethernet header that is easy to read and print and allows the programmer to view the mac addresses and see what's being done. The lesson also covers how get an argument out of data and view header formats and shows how to utilize a number of socket functions.