Jump to content

Here is one command to hide cmd


Recommended Posts

So I just finished watching "15 Second Password Hack, Mr. Robot Style - Hak5 2101" and I have a suggestion.

First of all I couldn't find any git with the initial code (on the ducky) so I have to post it here.

What I found after little research is that the command "powershell -windowstyle hidden {}" will hide the cmd.

Credit goes to stej from stackoverflow : http://stackoverflow.com/a/1802836/1997873.

If you want a littile description:

  • You run an empry script ==> {}
  • You run it with hidden winsows style ==> -windowstyle hidden

So powershell hide the main window of the process which is our cmd.

*** Tested on win10 64bit.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...