Skip to main content

What could go wrong giving full shell access to chatgpt?

Project description

Giving full shell access to Chatgpt web (What could go wrong?)

Steps:

  1. First run the client in any directory of choice
  2. Use this custom gpt https://chatgpt.com/g/g-Us0AAXkRh-wcgw-giving-shell-access to let it interact with your shell.

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 does it work?

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

Uploaded Source

Built Distribution

wcgw-0.0.5-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wcgw-0.0.5.tar.gz
  • Upload date:
  • Size: 36.4 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.5.tar.gz
Algorithm Hash digest
SHA256 24f0202e2bdd1c2c1daae0772230a412681b9567424746b3d27174d7aef92c52
MD5 950a48702b649e69793ece37f6d7dcf0
BLAKE2b-256 031c561a6e81566dc18f30c5a32e1e0d79981c625cc0d516fe3c20f039a17b1d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wcgw-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 12.0 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ced1274cbd4d0b34ae3ef93e50c05128f1d071d77798e5aaf15d6bcea22e2ca6
MD5 473232d53a216551c1290faf94ae8eb4
BLAKE2b-256 30513f7e8840ccfb063ba1f3f94cba5e02a8c53c4674271fc9dfc5b4f62ee683

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