Feature Request: WSMan & PowerShell Remoting Protocol implementations
Hello, this is an issue that bothered me for a while.
I am aware of the pypsrp python library that enables the usage of PSRemoting and WSMan RPC protocols over HTTP using the SOAP protocol.
I was wondering if it is in the future plans of the impacket library and if so, when will it be available.
This feature will further extend the library's power and flexibility - allowing further implementations to be made with it.
Thanks for the help and I would love to hear from you!
I created eactly that (winrmexec.py) with the intention to eventually try to submit it as PR for inclusion to impacket as there were previous issues (1403, 1557) where it was mentioned that they would be open to this idea.
I've been using it for last 3-4 months and it works more or less the same as evil-winrm. Only problems I ran into was with some restricted shells like JEA, but evil-winrm has the same problem too. It would be nice if someone could test this and submit any issues before PR to impacket (if the offer still stands).
Honestly blown away, real cool progress!
@ozelis I've been trying https://github.com/ozelis/winrmexec for testing in the context of https://github.com/fortra/impacket/pull/1987 . It's been working really nice. Wish to see a PR pushed with this example soon. Thank you!
So I found that issue and @ozelis's repo thank to @anadrianmanrique. This is so freaking cool omggg! That script on its own would fix a lot of issues we have with Netexec such as https://github.com/Pennyw0rth/NetExec/pull/103 that requires a package (krb5) that we don't want to have to install. When will this be merged ? :D :D