java-reverse-tcp icon indicating copy to clipboard operation
java-reverse-tcp copied to clipboard

Telnet Wrapper

Open miralayipouya opened this issue 3 years ago • 2 comments

Hi @ivan-sincek awesome work Bro!

Do you have any opinion's regarding handler implementation in java? I know this ends up using SocketServer but I am looking forward to something such as a TelnetWrapper around our client socket to interact smoothly. In python, I do this as below:

    def wrap(self, client): # client is our accepted socket from shell!
        self.tsock = telnetlib.Telnet()
        self.tsock.sock = client # this line wraps our telnet object around client socket.

with above functionality, I have access to interesting things directly inside python!

I looked for telnet libraries in java and found apache.commons.net.telnet which only tries to bind instead of wrap! I would appreciate your insights around a handler solution for java.

Cheers Bro!

miralayipouya avatar Mar 05 '22 20:03 miralayipouya

Hi,

Sorry for the late response, was busy with my other projects.

Your suggestion sounds good! I will look into it once I finish working on the current projects.

Meanwhile, I will mark this as enhancement.

Best regards, Ivan.

ivan-sincek avatar Mar 13 '22 22:03 ivan-sincek

I am so glad to here this. Cheers!

miralayipouya avatar Mar 14 '22 01:03 miralayipouya