Skip to content

evil-winrm and socks proxy wont work #728

@githubee

Description

@githubee

Describe the bug
Using sliver socks5 proxy and evil-winrm causes errors making it not usable. Using mtls transport

To Reproduce
Steps to reproduce the behavior:

  1. socks5 add
  2. proxychains evil-winrm
  3. HTTP/NTLM/... errors

Sample error message:

Error: An error of type WinRM::WinRMHTTPTransportError happened, message is Bad HTTP response returned from server. Body(if present): (400).
Error: Exiting with code 1

Expected behavior
Should work. Workaround is to use portfwd

Screenshots
n/a

Desktop (please complete the following information):

  • OS: Win10
  • Version unknown

Additional context
Wireguard didnt work, so I dont know if mtls is the best transport option here.

When you say "⚠️ In-band SOCKS proxies can be a little unstable depending on protocol" - which protocol works best?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions