does anyone know how to fix this error, or what settings should be changed.

Evil-WinRM shell v2.3

Info: Establishing connection to remote endpoint

Error: An error of type HTTPClient::ReceiveTimeoutError happened, message is execution expired

Error: Exiting with code 1

---------------- o

msf5 auxiliary(scanner/winrm/winrm_cmd) > run

[-] Got unexpected response:
HTTP/1.1 500
Server: Microsoft-HTTPAPI/2.0
Date: Wed, 22 Jul 2020 21:52:50 GMT
Connection: close
Content-Length: 0

Hey! Greetings.
I have been encountering this error in my early stage and was felt frustrated.

If you can ping the machine and still this error coming means that there is a problem in your VPN connection.

The thing which worked for me is to change the VPN server to some other and try again. It will work for sure. Good luck.

1 Like

thanks, something super simple but at first it didn’t work for me to know what happened. Really if I get very frustrated.