Skip to main content

ghostshell

A Netcat-style remote command execution tool using raw Python sockets.

Features

  • Raw socket client/server
  • CLI and importable API
  • Supports multiple requests per session

Installation

From PIP

pip install ghostshell

Manual Installation using setup.py

  • Clone this git repo
  • cd ghostshell
  • Run
pip install .

CLI Usage

For Code/module CLI:

 python -m ghostshell.cli.main serve --host 0.0.0.0 --port 9999
 python -m ghostshell.cli.main connect --host 127.0.0.1 --port 9999

For Installed CLI package:

ghostshell serve --host 0.0.0.0 --port 9999
ghostshell connect --host 127.0.0.1 --port 9999

Python Usage

from ghostshell.core.server import RemoteServer
from ghostshell.core.client import RemoteClient

server = RemoteServer("0.0.0.0", 9999)
server.start()

client = RemoteClient("127.0.0.1", 9999)
client.connect()

print(client.send_command("whoami"))
client.close()

License

MIT

⚠️ Disclaimer

This tool is intended strictly for educational and authorized use only.

By installing or using this package, you agree that:

  • You will only use it in environments where you have explicit permission.
  • You understand that this tool can be used for remote command execution, and improper use may violate laws or system security.
  • The author is not responsible for any damage, unauthorized access, or misuse of this software.

Use responsibly and at your own risk.

Metadata

Release files for ghostshell 1.0.3

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

Source distribution (sdist)

Source distribution for ghostshell 1.0.3
File Size Uploaded Provenance Actions
ghostshell-1.0.3.tar.gz 3.0 kB Without provenance Details for ghostshell-1.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 6.2 kB

Release files / ghostshell-1.0.3.tar.gz

Download URL ghostshell-1.0.3.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
aa4824fac2581545a04279536ddf9c2e072958b90325194f09aa692c8176e173
BLAKE2b-256 checksum
How to use checksums
218ce344d461a03d3540afb0c123be42441a59a67aefc415e676e0eb2fc15ff5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / ghostshell-1.0.3-py3-none-any.whl

Download URL ghostshell-1.0.3-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
162c88dc49749739abe3960db3f0dc9657dccb6e32a5c00796c5bc33b399f715
BLAKE2b-256 checksum
How to use checksums
223f926a8fe55f0cd47e0e457563957cfa5725acd66ca5d0729ff3975b0fe581
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for ghostshell 1.0.3

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.

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