Skip to content

Commit 9baa096

Browse files
author
Aman Rusia
committed
Revert files. 0.0.9
1 parent 041e100 commit 9baa096

File tree

4 files changed

+18
-79
lines changed

4 files changed

+18
-79
lines changed

README.md

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
1-
# Giving full shell access to Chatgpt web (What could go wrong?)
2-
Steps:
3-
1. First run the client in any directory of choice
4-
2. Use this custom gpt `https://chatgpt.com/g/g-Us0AAXkRh-wcgw-giving-shell-access` to let it interact with your shell.
1+
# Shell access to chatgpt.com
2+
3+
### 🚀 Highlights
4+
-**Full Shell Access**: No restrictions, complete control.
5+
-**Create, Execute, Iterate**: Seamless workflow for development and execution.
6+
-**Interactive Command Handling**: Supports interactive commands with ease.
7+
8+
9+
### 🪜 Steps:
10+
1. Run the [cli client](https://github.com/rusiaaman/wcgw?tab=readme-ov-file#client) in any directory of choice.
11+
2. Share the generated id with the GPT: `https://chatgpt.com/g/g-Us0AAXkRh-wcgw-giving-shell-access`
12+
3. The custom GPT can now run any command on your cli
513

614
## Client
715

@@ -25,7 +33,7 @@ https://chatgpt.com/g/g-Us0AAXkRh-wcgw-giving-shell-access
2533

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

28-
# How does it work?
36+
# How it works
2937
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`.
3038

3139
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.

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[project]
22
authors = [{ name = "Aman Rusia", email = "[email protected]" }]
33
name = "wcgw"
4-
version = "0.0.6"
4+
version = "0.0.9"
55
description = "What could go wrong giving full shell access to chatgpt?"
66
readme = "README.md"
7-
requires-python = ">=3.8"
7+
requires-python = ">=3.8, <3.13"
88
dependencies = [
99
"openai>=1.46.0",
1010
"mypy>=1.11.2",

src/wcgw/tools.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ async def register_client(server_url: str, client_uuid: str = "") -> None:
467467

468468
# Create the WebSocket connection
469469
async with websockets.connect(f"{server_url}/{client_uuid}") as websocket:
470-
print(f"Connected. Share this user id with the chatbot: {client_uuid}")
470+
print(f"Connected. Share this user id with the chatbot: {client_uuid} \nLink: https://chatgpt.com/g/g-Us0AAXkRh-wcgw-giving-shell-access")
471471
try:
472472
while True:
473473
# Wait to receive data from the server

0 commit comments

Comments
 (0)