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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wcgw-0.0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 92d2cb444c733c6228eefff8f67c7a67b0669a200e2e4f42fd6a67dfedca879b
MD5 5e9cf558398be262581120e23b2f733c
BLAKE2b-256 925d7f15e4d2336b0d883b014b7a2856dfb7a83574a6ae5ac4c94cde86c55206

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wcgw-0.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 01c34858ca18813b3b872b0d7559eda9da767706898a8f3f544c961fc3413433
MD5 df1efbbd6e0497cfe2d15ca48c6c5a55
BLAKE2b-256 8ed0b9b3fc05268df187dc608f6ecd29edc4307c8edb3f8704c8c3700ac24790

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