Re: Source code for sudoreplay
"Todd C. Miller" <[email protected]>
| Newsgroups | gmane.comp.tools.sudo.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 12 Mar 2019 15:47:42 -0500, Bryan Christ wrote: > Where can I find the source code to sudoreplay? I'm curious as to how it > handles certain escape sequences. In other words the control code sequence > for RS1 is different on xterm than it is for rxvt. The same applies for > other control code sequences. Does the tool just pass the codes through > and hope for the best? Most of the sudoreplay code is in plugins/sudoers/sudoreplay.c. It is a fairly simple-minded program that just writes the log and hopes for the best. I was not prepared to write a termcap/terminfo transcoder :-) - todd ____________________________________________________________ sudo-users mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-users