Skip to main content

Reverse shell SERVER for unbureaucratic server/client connections with file transfer / screenshots

Project description

Reverse shell server for unbureaucratic server/client connections with file transfer / screenshots

pip install reverseshellserver

Tested against Windows 10 / Python 3.10 / Anaconda

Shell Server: A simple server-side application that allows multiple clients to connect, execute shell-like commands, taking screenshots, and exchange files over a network using sockets.

To install the client: https://pypi.org/project/reverseshellclient/

This server application implements a basic command shell that listens for client connections, executes user commands, and responds to the client with appropriate outputs or actions. Clients can connect to the server using a TCP/IP socket

The server and client communicate using a custom command encoding format to handle large data transmissions. The server can send data to the client, and the client can send data to the server.

Usage:

  1. Instantiate the ShellServer class with desired configurations (port, buffer size, commands, etc.).
  2. Start the server using the do_actions() method, which listens for incoming client connections and allows communication with clients.
  3. Clients can connect to the server using a TCP/IP socket.

Note:

  • The server can handle multiple clients simultaneously through multi-threading.
  • When a client sends the 'quit' command, the client remains connected.
  • When a client sends the 'exit' command, the client is disconnected from the server.
  • The server supports the 'putfile' and 'getfile' commands to send and receive files between the server and clients.
  • Screenshots can be taken using command_screenshot
from reverseshellserver import ShellServer
se = ShellServer(
    port=12345,
    listen=5,
    byte_len=32768,
    command_quit="quit",
    command_disconnect="disconnect",
    command_exit="exit",
    command_putfile="putfile",
    command_getfile="getfile",
    command_screenshot="screenshot",
    command_getcwd="getcwd",
    command_putfile_sep=b"FILESEP",
    command_start=b"START_START_START",
    command_end=b"END_END_END",
)
se.do_actions()
		

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reverseshellserver-0.11.tar.gz (52.8 kB view details)

Uploaded Source

Built Distribution

reverseshellserver-0.11-py3-none-any.whl (53.5 kB view details)

Uploaded Python 3

File details

Details for the file reverseshellserver-0.11.tar.gz.

File metadata

  • Download URL: reverseshellserver-0.11.tar.gz
  • Upload date:
  • Size: 52.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for reverseshellserver-0.11.tar.gz
Algorithm Hash digest
SHA256 35a8edeca2241d9687240824ae27542e2620c89fe1bd92088f1ecaf8d2222537
MD5 acc265c3bef9831b4794c16e48298075
BLAKE2b-256 ac49225434b0ee4a3ee923f1b89b48a12a9c8257ed63308a1eed61cd827f47a4

See more details on using hashes here.

File details

Details for the file reverseshellserver-0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for reverseshellserver-0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 54df7a8f331cd66f0e7e6aee44d619afc8f3d00a591b2332796987727f8787fc
MD5 51d9520c9f7f424ba2f9e221c1c933bd
BLAKE2b-256 2a91065b7c905be0077c842a8c028b04b821626cba2d945b0fcd137ce8c2a908

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page