jm33-m0 / emp3r0r

Linux/Windows post-exploitation framework made by linux user
https://infosec.exchange/@jm33
MIT License
1.26k stars 232 forks source link

Need to support pre-ConPTY era Windows versions #135

Closed jm33-m0 closed 2 years ago

jm33-m0 commented 2 years ago

It's quite impossible to implement interactive remote shell without ConPTY support, as explained by Microsoft itself. And the technique that I use in emp3r0r doesn't support older Windows versions such as Windows 7.

I am thinking about some possible solutions:

jm33-m0 commented 2 years ago

The Mintty solution will only work for *nix shells. If you try to run cmd.exe or powershell.exe using its terminal, it's essentially non-interactive shell

jm33-m0 commented 2 years ago

The shell is still unusable on Windows versions without ConPTY support, but basic command exec works, just type your command in emp3r0r and hit enter.

I will set the terminal to raw mode in future versions, see if that solves this problem

github-actions[bot] commented 2 years ago

Stale issue message