run runas in a shellChanging the default command-line shell in WindowsAllow Non Administrator User To Launch...

Asserting that Atheism and Theism are both faith based positions

Sort with assumptions

Would this string work as string?

How would a solely written language work mechanically

Connection Between Knot Theory and Number Theory

Derivative of an interpolated function

Are hand made posters acceptable in Academia?

How do I lift the insulation blower into the attic?

Offset in split text content

Calculate Pi using Monte Carlo

Showing mass murder in a kid's book

Make a Bowl of Alphabet Soup

Recursively move files within sub directories

Why would five hundred and five same as one?

Why is implicit conversion not ambiguous for non-primitive types?

Did I make a mistake by ccing email to boss to others?

Put the phone down / Put down the phone

Is there a distance limit for minecart tracks?

What 1968 Moog synthesizer was used in the Movie Apollo 11?

How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?

Why didn't Voldemort know what Grindelwald looked like?

How do you justify more code being written by following clean code practices?

Why can't I get pgrep output right to variable on bash script?

How to split IPA spelling into syllables



run runas in a shell


Changing the default command-line shell in WindowsAllow Non Administrator User To Launch iTunes When Another User Already Has iTunes OpenProblems with runas and system accountCannot type password in Windows XP Home login screenStrange things happening when I enter my password on the lockscreen at Windows 8.1Batch file with commands to run as administrator and standard userAutomating VPN launchHow to call environment variables in runas command for right click context menuHow to run Windows 10 Settings app as administrator?Can't enter BIOS password containing “!”













3















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?










share|improve this question














bumped to the homepage by Community 5 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






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


This question came from our site for information security professionals.























    3















    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?










    share|improve this question














    bumped to the homepage by Community 5 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






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


    This question came from our site for information security professionals.





















      3












      3








      3








      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?










      share|improve this question














      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?







      passwords windows metasploit script






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 1 '15 at 12:12









      isomanisoman

      163118




      163118





      bumped to the homepage by Community 5 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 5 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






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


      This question came from our site for information security professionals.









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


      This question came from our site for information security professionals.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Try



          echo password|runas /user:test "cmd"





          share|improve this answer
























          • It didn't works. I found an alternative using PsExec. forum.sysinternals.com/…

            – isoman
            Jul 1 '15 at 21:52













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f935201%2frun-runas-in-a-shell%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Try



          echo password|runas /user:test "cmd"





          share|improve this answer
























          • It didn't works. I found an alternative using PsExec. forum.sysinternals.com/…

            – isoman
            Jul 1 '15 at 21:52


















          0














          Try



          echo password|runas /user:test "cmd"





          share|improve this answer
























          • It didn't works. I found an alternative using PsExec. forum.sysinternals.com/…

            – isoman
            Jul 1 '15 at 21:52
















          0












          0








          0







          Try



          echo password|runas /user:test "cmd"





          share|improve this answer













          Try



          echo password|runas /user:test "cmd"






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jul 1 '15 at 15:09









          SilverlightFoxSilverlightFox

          10517




          10517













          • It didn't works. I found an alternative using PsExec. forum.sysinternals.com/…

            – isoman
            Jul 1 '15 at 21:52





















          • It didn't works. I found an alternative using PsExec. forum.sysinternals.com/…

            – isoman
            Jul 1 '15 at 21:52



















          It didn't works. I found an alternative using PsExec. forum.sysinternals.com/…

          – isoman
          Jul 1 '15 at 21:52







          It didn't works. I found an alternative using PsExec. forum.sysinternals.com/…

          – isoman
          Jul 1 '15 at 21:52




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f935201%2frun-runas-in-a-shell%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...