Created
August 12, 2018 18:45
-
-
Save noahpeltier/efcb7e55131c774eb656efcdd2f32389 to your computer and use it in GitHub Desktop.
Running a script from apaste URL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$data = (Invoke-WebRequest -Uri "https://apaste.info/LgTm").Content | |
$data2 = $data -replace '<[^>]+>','' -replace "Apache Paste Bucket" -replace "Showing paste" -replace """ , '"' -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