I am coding for pentesting purposes. I am trying to establish a connection between my Windows Virtual Machine and my Kali Linux virtual machine. I have coded a listener for this purpose but it is not working.
My Python code:
The result from running the listener on Kali Linux:
@Klaus D. is right, your
__init__
needed two underscores on each side, not 1. Also a good idea to make sure the methods under your class are properly indented.