I'm playing with a Windows 7 VM that I own. I started a reverse shell with ncat as listener. I can run commands except runas. Whenever I try to switch to another user I got prompted for the password but the prompt is skipped instantly like I have pushed enter.

runas /user:test "cmd"

Is there a workaround to launch runas in a shell?



echo password|runas /user:test "cmd"
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.