|Keep It Simple, Stupid|
creating a fake telnet middlewareby leostereo (Beadle)
|on Apr 10, 2020 at 00:43 UTC||Need Help??|
leostereo has asked for the wisdom of the Perl Monks concerning the following question:
Hi guys , im not trying to hack anything.
Just need to intercept a telnet session, modify client commands, send to api rest and return result back.
Everything is hardcoded so I need to simulate a telnet session with a login request and returning a prompt and so on.
Client should "believe" it is connected to original server.(luckily it uses telnet).
What do you think about it ?
Im thinking on building a simple tcp daemon with socket library and send proper responses to client "simulating a terminal"
Do you think it is possible ?should I consider any thing extra ?
Any idea would be welcome.