From 1cdd250cc2c65f9ac0fc9249abf5230bc4f01058 Mon Sep 17 00:00:00 2001 From: a-bad-dev <244852891+a-bad-dev@users.noreply.github.com> Date: Sat, 14 Mar 2026 02:16:28 -0300 Subject: [PATCH 1/3] update README to accompany the code --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 91ea1ee..828f1e3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # irc2bash -A (poorly made) bridge between an IRC channel and the bash interpreter +A bridge between an IRC channel and the bash interpreter **Ensure you run this in a sandboxed VM!** From 61975fa9aff3180d47a8b80e023ad909f3296bbe Mon Sep 17 00:00:00 2001 From: a-bad-dev <244852891+a-bad-dev@users.noreply.github.com> Date: Sat, 14 Mar 2026 02:19:53 -0300 Subject: [PATCH 2/3] remove TODO --- TODO.md | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 TODO.md diff --git a/TODO.md b/TODO.md deleted file mode 100644 index ec44808..0000000 --- a/TODO.md +++ /dev/null @@ -1,8 +0,0 @@ -# TODO - -- don't use os.system() and piping to a file for commands -- configuration file -- only allow certain users to run commands -- (maybe) windows support? (who doesn't want to destroy windows from an IRC channel) -- add code comments -- better handling of stdout/stdin From ed44eb7c3cf22a623f8bc09011756e096a922edf Mon Sep 17 00:00:00 2001 From: a-bad-dev <244852891+a-bad-dev@users.noreply.github.com> Date: Sat, 14 Mar 2026 02:25:11 -0300 Subject: [PATCH 3/3] remove default values --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 0cd2b65..14fa006 100755 --- a/main.py +++ b/main.py @@ -310,8 +310,8 @@ class Server(): self._msg_q.put(f"PRIVMSG {source_channel} :CMD {cmd} exited with returncode {proc.returncode}\r\n".encode()) if __name__ == "__main__": - serv = Server("RCE", "rce-is-fun-jcj", "##jcj2") - serv.connect("tantalum.libera.chat", 6667, sock_recvbuf = 8192) + serv = Server("", "", "") # + serv.connect("", 6667, sock_recvbuf = 8192) # NOTE TO USER: You have to set these values # Allow for the user to send raw IRC messages # These bypass the send queue