Skip to content

Instantly share code, notes, and snippets.

@noahpeltier
Created August 12, 2018 18:45
Show Gist options
  • Save noahpeltier/efcb7e55131c774eb656efcdd2f32389 to your computer and use it in GitHub Desktop.
Save noahpeltier/efcb7e55131c774eb656efcdd2f32389 to your computer and use it in GitHub Desktop.
Running a script from apaste URL
$data = (Invoke-WebRequest -Uri "https://apaste.info/LgTm").Content
$data2 = $data -replace '<[^>]+>','' -replace "Apache Paste Bucket" -replace "Showing paste" -replace "&quot;" , '"' -replace "Make a new paste"
iex $data2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment