Retrieve information and perform actions using netcat