Skip to content

A Python TCP server that listens for incoming client connections, executes shell commands, and returns the output. It runs as a daemon, handling multiple clients with threads

License

Notifications You must be signed in to change notification settings

tobiasGuta/StealthCommand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

StealthCommand

This script creates a simple TCP server that enables remote command execution. Clients can connect to the server, send commands, and receive the output. Running as a daemon in the background, it operates discreetly and can handle multiple client connections at once. This makes it suitable for tasks like remote administration, and pentesting as it runs silently without user interaction, hiding its output. It also forks the process to ensure it stays active even if the user closes the terminal. The use of threads allows the server to handle multiple clients concurrently, improving scalability, by leveraging the setproctitle module, the script can rename the process, making it harder to detect in system process lists.

stealthcommand.mp4

Installation

https://github.com/tobiasGuta/StealthCommand.git
cd SteatlhCommand

Just a heads-up: You'll need to transfer this file to the computer you want to control and install the "setproctitle" module to rename the process.

Note: Feel free to choose any name for the process.

Use

./stealthcommand.py

About

A Python TCP server that listens for incoming client connections, executes shell commands, and returns the output. It runs as a daemon, handling multiple clients with threads

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages