Merge branch 'main' into main

This commit is contained in:
a-bad-dev 2026-03-14 02:28:57 -03:00 committed by GitHub
commit d189fdd5b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 10 deletions

View file

@ -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!**

View file

@ -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

View file

@ -312,7 +312,8 @@ class Server():
if __name__ == "__main__":
serv = Server("username", "nickname", "##channel", opper_nicknames = ["opperhere"])
serv.connect("tantalum.libera.chat", 6667, sock_recvbuf = 8192)
serv.connect("IP", 6667, sock_recvbuf = 8192)
# Allow for the user to send raw IRC messages
# These bypass the send queue