Assignment 10 – Create a TCP Server

Instructions

After Reviewing and Studying Chapter 2 in Black Hat Python, create a standalone Python script that will act as a TCP server.  The server will accept connections on port 5555 from TCP clients operating on the same local IP range as the server.  The server will receive the message, create a MD5 hash of the message, print the message and MD5 hash of the message, and respond to the TCP client with the MD5 hash generated.  The server will continue to operate until terminated by the user.

You will submit:

  1. Your final python script
  2. A screenshot of all the connections, messages, and hashed messages