Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^3: creating a fake telnet middlewareby jo37 (Deacon) |
on Apr 11, 2020 at 08:34 UTC ( [id://11115369]=note: print w/replies, xml ) | Need Help?? |
Though this is a rudimentary server, it is not a telnet server. It depends on the client if it is willing to communicate with such a non-telnet endpoint. I think it would be easier to replace the login shell of the user with some interceptor. That way the application would talk to a real telnetd, which - after authenticating the client - will connect it to your login shell replacement, where you may perform anything you like. Greetings,
In Section
Seekers of Perl Wisdom
|
|