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.7.tar.gz (87.7 kB view details)

Uploaded Source

Built Distribution

wcgw-0.0.7-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wcgw-0.0.7.tar.gz
  • Upload date:
  • Size: 87.7 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.7.tar.gz
Algorithm Hash digest
SHA256 37bfcea5bf1f4e28df1644bcfa21813db003c0d4d1f452d9bbf9425baf498fcc
MD5 9d0ae5c2cdafa6077742bec2ebd82219
BLAKE2b-256 a5cfd1c6f0efeadbfd4a231820dd629c36968155af00eba8edec9827340fa4b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wcgw-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 13.3 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 881193284dc59c067bf37965bad1815e2a420e2b625e87cba2bb0f9c52e76c98
MD5 61b884e58f3d217e43b935859aa0bf7d
BLAKE2b-256 1d41c5a485136b35340fa0e880eec1dcf5484dade3818d9c9f7a6058b358d944

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