5

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?

isoman
  • 243
  • 1
  • 3
  • 9

1 Answers1

0

Try

echo password|runas /user:test "cmd"
SilverlightFox
  • 138
  • 2
  • 17
  • 1
    It didn't works. I found an alternative using PsExec. http://forum.sysinternals.com/psexec-to-localhost-logon-failure_topic5398.html – isoman Jul 01 '15 at 21:52