Activation and Connecting to Shells

You manually activated the implant and connected to that bind shell with netcat, but we need to do things automatically, and at scale.

Using the Python script that generates payloads you wrote earlier:

  1. Modify it to take in the IP address and the knock codes required to activate the implant.
  2. Take the logs that are outputted by the first script and parse them with a second script that identifies existing payloads and conducts the portknock to activate them.
  3. After the portknock is conducted, automatically connect to the bind shell.

Submit all python scripts.