Skip to main content

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()
		

Metadata

Release files for reverseshellserver 0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reverseshellserver 0.11
File Size Uploaded Provenance Actions
reverseshellserver-0.11.tar.gz 52.8 kB Without provenance Details for reverseshellserver-0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reverseshellserver 0.11
File Interpreter ABI Platform Actions
reverseshellserver-0.11-py3-none-any.whl Python 3 none any Details for reverseshellserver-0.11-py3-none-any.whl

Total release size: 106.4 kB

Release files / reverseshellserver-0.11.tar.gz

Download URL reverseshellserver-0.11.tar.gz
Size 52.8 kB
Tags Source
SHA-256 checksum
How to use checksums
35a8edeca2241d9687240824ae27542e2620c89fe1bd92088f1ecaf8d2222537
BLAKE2b-256 checksum
How to use checksums
ac49225434b0ee4a3ee923f1b89b48a12a9c8257ed63308a1eed61cd827f47a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / reverseshellserver-0.11-py3-none-any.whl

Download URL reverseshellserver-0.11-py3-none-any.whl
Size 53.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54df7a8f331cd66f0e7e6aee44d619afc8f3d00a591b2332796987727f8787fc
BLAKE2b-256 checksum
How to use checksums
2a91065b7c905be0077c842a8c028b04b821626cba2d945b0fcd137ce8c2a908
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Security for reverseshellserver 0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.11 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page