Apache Mina weird session behaviour

Hello there, I am building a CNC / Telnet server using Apache Mina and ran into some issues from the very beginng... First, I will be showing my Classes which are in the relation of the CNC... CNCServerHandler: https://pastebin.com/A5ea3AgF (Class with the username Input) CNCServer: https://pastebin.com/HEJedJ1F CNCClient: https://pastebin.com/qk2Au8Bf ClientSessionHandler: https://pastebin.com/paWniEHP Those classes are supposed to: - Open a telnet port on the server which is used to run the application - Accept incoming connections to the port - Handle user input related to that connection (username, password etc.) If you type "quit" it closes, like expected, BUT the input is not behind the prompt where it supposed to be... Check the image for this. I appreciate any help or ideas, as the information about apache mina on the internet are very limited and I also copied this code from a video I have seen. The bad looking client screen of the Putty session will be added as an image.
Pastebin
Possible Spam Detected - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
CNCServer - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
CNCCLient - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
ClientSessionHandler - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
No description
3 Replies
JavaBot
JavaBot6mo ago
This post has been reserved for your question.
Hey @netty.bootstrap! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
netty
nettyOP6mo ago
I dont understand why its doing that as there is no NewLine anywhere
JavaBot
JavaBot6mo ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
Want results from more Discord servers?
Add your server