Devzat – Chat over SSH, with some nice quality-of-life features
1–10 of 111 posts
Re: Devzat – Chat over SSH, with some nice quality-of-life features
#2I wonder if you could do something similar with an ssh account which is hard-wired to run 'ytalk' (https://en.wikipedia.org/wiki/Talk_(software)).
Re: Devzat – Chat over SSH, with some nice quality-of-life features
#3There was a beginner friendly machine to hack on HackTheBox where you had to hack a Devzat instance
Re: Devzat – Chat over SSH, with some nice quality-of-life features
#4Normal talk in unices system can do that.
Irc have exange data between server and minimalize data trafic.
still irc is better, but meybe in future
Re: Devzat – Chat over SSH, with some nice quality-of-life features
#5Normal talk in unices system can do that. Irc have exange data between server and minimalize data trafic. still irc is better, but meybe in future
There was also `write` [0]. It would literally parse /etc/utmp [1] to find out which terminal the recepient user was logged on, then it would open that terminal and write(2) the message to it. Ah, wonderful user isolation.
Re: Devzat – Chat over SSH, with some nice quality-of-life features
#6I experimented with writing a shell replacement a while back. Turns out you can just run any old program. Here’s and example “hello world” shell replacement written in Go.
Re: Devzat – Chat over SSH, with some nice quality-of-life features
#7I'd be curious whether there's any security concerns on this one. Could an attacker craft a message that gets access to execute commands into a client terminal?
Re: Devzat – Chat over SSH, with some nice quality-of-life features
#8I wonder if you could do something similar with an ssh account which is hard-wired to run 'ytalk' ( https://en.wikipedia.org/wiki/Talk_(software) ).
Probably. See my comment (and example repo) elsewhere about running any old binary when someone connects.
Re: Devzat – Chat over SSH, with some nice quality-of-life features
#9See also: ssh-chat by shazow from ~10 years ago written in Go
ssh chat.shazow.net
The most amazing part is perhaps the fact that this one is still around, 10 years later! Try it yourself and you’ll see :)Discussion at the time:
https://news.ycombinator.com/item?id=8743374
Source code in GitHub repo here:
Re: Devzat – Chat over SSH, with some nice quality-of-life features
#10Cool, the source code is amazingly readable. Also love the sense of humor :-D such as https://github.com/quackduck/devzat/blob/main/commands.go#L1...