Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command issues with the C# client #33

Open
doulos0 opened this issue May 4, 2022 · 1 comment
Open

Command issues with the C# client #33

doulos0 opened this issue May 4, 2022 · 1 comment

Comments

@doulos0
Copy link

doulos0 commented May 4, 2022

I can connect to the Server with C#, Powershell, and the Python client, but for some reason I cannot execute commands from the C# client built in Visual Studio. Build seems to goes fine, and the initial connection works, but when I interact with the session and attempt a simple "ipconfig" commands, the server hangs with the message "Waiting for command to be executed. be patient..." which I get with the other clients but they respond with the command output. I'm sure it's probably something I'm doing wrong, either in the build or the configuration.

image

Thanks,

DH

@doulos0
Copy link
Author

doulos0 commented May 6, 2022

Did more testing. It seems that the command does execute on the target, it's just that no output appears on the server screen and it locks up to where you have to kill and restart the server. I was able to run calc.exe Also, the sessions seem to be duplicating themselves and whatever command executed (such as calc.exe) is executed repeatedly. I'm going to look at the source a bit more as it only seems to be affecting the C# client. No huge rush on this and again I could be doing something wrong on my end.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant