The CPU usage of this thing is absurd. Doesn't help that my files are encoded with "\n" newlines, but I need to use "\r\n" for an SSH pty for whatever reason.
Top-level
The CPU usage of this thing is absurd. Doesn't help that my files are encoded with "\n" newlines, but I need to use "\r\n" for an SSH pty for whatever reason. 18 comments
Oh, I didn't compile with @jjacobsson I got it working last night, shitposted about it and went to bed. Will post the code in the next couple of weeks. I don't use container stuff, and it's Rust so you can just compile it to a single binary anyway. @ryanc _nice_ Having exactly 0 experience with running a honeypot so I did some googling and realized that is more complicated than I initially thought :D But I need to see this. @jjacobsson the video itself viewable via
No sound, but the whole thing is subtitled. @jjacobsson It's pretty amazing how good it looks when you spam the terminal with unicode and 24 bit color escape sequences @ryanc If you want to spend ABSOLUTELY way too much effort on this, there IS a way to compress this. You can use console escape codes to update only the parts of the screen which are changing. This is a lost art, but some implementations survive (Emacs notably does this). Do some motion estimation. In rectangular regions that coherently move vertically you could set a scroll region and just scroll that area. @ryanc You should be able to set the newline conversion mode on the pty with stty/tcsetattr. |
Also wondering if there's any way I can precompress the data...