In this chapter, you learned how to send a fake ICMP (ping) reply. In order to send the ICMP reply, the ARP protocol must be running. By running both the codes simultaneously, they create an illusion at the network layer. But, before running the code, a firewall must be set to drop the outgoing frames. At the transport layer, two experiments were performed: a fake port open and fake OS running. By learning more about nmap, an exact fake response of a particular OS can be created. At the application layer, a Python web server code is giving a fake server signature. You can change the server signature according to your needs.
In Chapter 7, Foot Printing a Web Server and a Web Application, you will learn about footprinting a web server. You will also learn how to obtain the header of HTTP and about banner grabbing