Okay, so here's my setup:
My AuthServer and CptHerlockServer are running on a separate server. This is all nice 'n dandy, until I want to execute commands like #notice or #add_state. So I'd like to do this directly from my workstation, which is in the same network.
Right now, to execute commands on the server I have to open a remote desktop session to the server and enter it manually. This is tedious. I'd like to be able to do this from my own workstation without ever touching RDP.
I have made a simple Java application which uses java.awt.Robot and java.net.ServerSocket to do this for me. The ServerSocket allows me to open a Telnet session with the application to send my command, and the Robot will insert the command into the CptHerlock window.
This works fine ... while I have an RDP session. As soon as I stop the RDP session (I'm not logging out, I'm simply clicking the the little [x] in the top right corner of the window), the above stops working, probably because Robot needs the view that RDP creates.
Is there a way to work around this? I would like to run commands on CptHerlock without having to open a remote desktop session. I am wellversed in getting messages from one machine to another, but not so much in inter-process communication.
Any help or tips would be appreciated.







