Skip to main content

What could go wrong giving full shell access to chatgpt?

Project description

Shell access to chatgpt.com

🚀 Highlights

  • Full Shell Access: No restrictions, complete control.
  • Create, Execute, Iterate: Seamless workflow for development and execution.
  • Interactive Command Handling: Supports interactive commands with ease.

🪜 Steps:

  1. Run the cli client in any directory of choice.
  2. Share the generated id with the GPT: https://chatgpt.com/g/g-Us0AAXkRh-wcgw-giving-shell-access
  3. The custom GPT can now run any command on your cli

Client

Option 1: using pip

$ pip install wcgw
$ wcgw

Option 2: using uv

$ curl -LsSf https://astral.sh/uv/install.sh | sh
$ uv tool run wcgw

This will print a UUID that you need to share with the gpt.

Chat

https://chatgpt.com/g/g-Us0AAXkRh-wcgw-giving-shell-access

Add user id the client generated to the first message along with the instructions.

How it works

Your commands are relayed through a server I've hosted at https://wcgw.arcfu.com. The code for that is at src/relay/serve.py.

The user id that you share with chatgpt is added in the request it sents to the relay server which holds a websocket with the terminal client.

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

wcgw-0.0.9.tar.gz (68.0 kB view details)

Uploaded Source

Built Distribution

wcgw-0.0.9-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file wcgw-0.0.9.tar.gz.

File metadata

  • Download URL: wcgw-0.0.9.tar.gz
  • Upload date:
  • Size: 68.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for wcgw-0.0.9.tar.gz
Algorithm Hash digest
SHA256 e945d50804e475826760466424e5ceb8f6618635c561a575991acbfe4e247405
MD5 10aa55ca623de2691cccb5d1ce26a43e
BLAKE2b-256 cf23f4d789b9b5907f836940f7b65bd0f674974cf57742d4de8d15be0676ebf7

See more details on using hashes here.

File details

Details for the file wcgw-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: wcgw-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for wcgw-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 2e4a5ca81c158f1f3e8572bf1993f5b1074270adbaaa0d4d9db599cd6b222b32
MD5 24cb09c2eaefed8c6ea0fe50ac402736
BLAKE2b-256 08da93c91a9401a0a2c28b8ee77931b9d65e8278058e5b4945faba5cb48cbdbd

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