Questions
As we conclude, here is a list of questions for you to test your knowledge regarding this chapter’s material. You will find the answers in the Assessments section of the Appendix:
- What is the scapy function that can capture packets in the same way as tools such as tcpdump or Wireshark?
- What is the method that must be invoked with scapy to check whether a specific port (port) is open or closed on a specific machine (host), and show detailed information about how the packets are being sent?
- What functions are necessary to implement the
traceroute
command in scapy? - What are the methods to send a package in scapy?
- Which parameter of the
sniff()
function allows us to define a function that will be applied to each captured packet?