A simple rat [remote access trojan] This is for educational purposes only, please do not use it for illegal purposes. I will not be held liable for any damage caused by or as a result of this program.
Change the 'attacker ip' string to your own ip address. Use py2exe to compile the script to windows executable format (.exe) Deploy on your target system. Set up a listener on your machine on port 443. Enjoy the fun! :)
Change the code to suit your needs.