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

Windows version close connections #49

Closed
ampf27 opened this issue Apr 15, 2023 · 2 comments
Closed

Windows version close connections #49

ampf27 opened this issue Apr 15, 2023 · 2 comments

Comments

@ampf27
Copy link

ampf27 commented Apr 15, 2023

I have tried Girsh on linux and it worked just fine but when trying on Windows, I can get a sessions but after a few seconds on Girsh console I get

Girsh> Connect from TARGET_IP:IP
exec: "stty": executable file not found in %PATH%
exit status 1

While on the the other PC I get

Exception calling "Read" with "3" argument(s): "Unable to read data from the transport connection: An existing
connection was forcibly closed by the remote host."
At line:1 char:140
+ ... 65535|%{0};while(($i = $stream.Read($bytes, 0, $bytes.Length)) -ne 0) ...
+                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : IOException

I have tried with both compiled version and go but got the same result.

What may be causing this?

@nodauf nodauf closed this as completed in 94551ca Apr 15, 2023
@nodauf
Copy link
Owner

nodauf commented Apr 15, 2023

It should be ok with the last commit. However, when running Girsh on Windows you lose the ability to have interactive sessions (without stty).

@ampf27
Copy link
Author

ampf27 commented Apr 15, 2023

Thank you for let me know that

I will then take it account and use it on linux environment

Great work on this tool

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

2 participants