4

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?

migrated from security.stackexchange.com Jul 1 '15 at 21:34

This question came from our site for information security professionals.

0

Try

echo password|runas /user:test "cmd"

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.